aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-01-02 00:32:19 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-01-02 00:32:19 +0100
commit55a88da0f72416b0644fb139707ddce1c57adcc8 (patch)
tree49b60af8abee3403e0bf4be932e586b5bb3f68b5 /tests
parent839a82a1dda9de1d3cd126f874645cec4425c04f (diff)
downloadcgeo-55a88da0f72416b0644fb139707ddce1c57adcc8.zip
cgeo-55a88da0f72416b0644fb139707ddce1c57adcc8.tar.gz
cgeo-55a88da0f72416b0644fb139707ddce1c57adcc8.tar.bz2
Cache size can never be null
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java1
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC2CJPF.java1
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC2JVEH.java1
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC3XX5J.java1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
index 8d9d7af..9580be8 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
@@ -40,6 +40,7 @@ public class GC1ZXX2 extends MockedCache {
return "Rich Uncle Pennybags";
}
+ @NonNull
@Override
public CacheSize getSize() {
return CacheSize.OTHER;
diff --git a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
index 8a8cf95..5c65f37 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC2CJPF.java
@@ -47,6 +47,7 @@ public class GC2CJPF extends MockedCache {
return getOwnerDisplayName();
}
+ @NonNull
@Override
public CacheSize getSize() {
return CacheSize.SMALL;
diff --git a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
index dff6bce..2525514 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC2JVEH.java
@@ -64,6 +64,7 @@ public class GC2JVEH extends MockedCache {
return "indianerjones";
}
+ @NonNull
@Override
public CacheSize getSize() {
return CacheSize.SMALL;
diff --git a/tests/src/cgeo/geocaching/test/mock/GC3XX5J.java b/tests/src/cgeo/geocaching/test/mock/GC3XX5J.java
index 03959b9..36e2358 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC3XX5J.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC3XX5J.java
@@ -41,6 +41,7 @@ public class GC3XX5J extends MockedCache {
return "David & Ajda";
}
+ @NonNull
@Override
public CacheSize getSize() {
return CacheSize.SMALL;