aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-11-09 16:49:32 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-11-09 16:49:32 +0100
commit2a38844294c70ea6382f0752edb57bb073010c95 (patch)
tree43a0c271b487175134cf1069291148dc3b83ba5e /main/src/cgeo/geocaching/Geocache.java
parent4281e11bd1856cf7fd0e6467b009f23c9a78be77 (diff)
downloadcgeo-2a38844294c70ea6382f0752edb57bb073010c95.zip
cgeo-2a38844294c70ea6382f0752edb57bb073010c95.tar.gz
cgeo-2a38844294c70ea6382f0752edb57bb073010c95.tar.bz2
fix #3396: crash on logging event cache
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 7c3a2d6..8cfedb3 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -37,6 +37,7 @@ import org.apache.commons.collections4.Predicate;
import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
+import org.eclipse.jdt.annotation.Nullable;
import android.app.Activity;
import android.content.Intent;
@@ -750,6 +751,7 @@ public class Geocache implements ICache, IWaypoint {
}
@Override
+ @Nullable
public Date getHiddenDate() {
return hidden;
}