diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2014-05-14 11:52:32 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2014-05-14 14:23:45 +0200 |
commit | 52423e2c95c4be141bb4654f9ddd70f782e855b8 (patch) | |
tree | da1ff8d70af91f2ef5fd7d5ebcd9e40cd6aec31d /main/src | |
parent | 7f140eff7c8ba6a78b166a367ddabbb1c038b317 (diff) | |
download | cgeo-52423e2c95c4be141bb4654f9ddd70f782e855b8.zip cgeo-52423e2c95c4be141bb4654f9ddd70f782e855b8.tar.gz cgeo-52423e2c95c4be141bb4654f9ddd70f782e855b8.tar.bz2 |
Add addtional @NonNull annotation
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/SearchResult.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/SearchResult.java b/main/src/cgeo/geocaching/SearchResult.java index 3fe1b53..1916afd 100644 --- a/main/src/cgeo/geocaching/SearchResult.java +++ b/main/src/cgeo/geocaching/SearchResult.java @@ -11,6 +11,7 @@ import cgeo.geocaching.gcvote.GCVote; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; +import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import rx.Observable; @@ -164,6 +165,7 @@ public class SearchResult implements Parcelable { return 0; } + @NonNull public Set<String> getGeocodes() { return Collections.unmodifiableSet(geocodes); } |