diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-09-12 21:35:23 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-09-12 21:35:23 +0200 |
| commit | 61c6a6335c42b5b070c2435e3b1d40426b3ad193 (patch) | |
| tree | 0ff7a8a102107d21ce85482cd6cce1d2624a3386 | |
| parent | ba47c95f6fde52399cc281baa7495457a407ed11 (diff) | |
| download | cgeo-61c6a6335c42b5b070c2435e3b1d40426b3ad193.zip cgeo-61c6a6335c42b5b070c2435e3b1d40426b3ad193.tar.gz cgeo-61c6a6335c42b5b070c2435e3b1d40426b3ad193.tar.bz2 | |
refactoring: checkstyle complaining about annotation order
| -rw-r--r-- | main/src/cgeo/geocaching/StoredList.java | 4 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/cgData.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/StoredList.java b/main/src/cgeo/geocaching/StoredList.java index e080af9..6f49625 100644 --- a/main/src/cgeo/geocaching/StoredList.java +++ b/main/src/cgeo/geocaching/StoredList.java @@ -119,8 +119,8 @@ public final class StoredList { builder.create().show(); } - private static @NonNull - List<StoredList> getSortedLists() { + @NonNull + private static List<StoredList> getSortedLists() { final Collator collator = Collator.getInstance(); final List<StoredList> lists = cgData.getLists(); Collections.sort(lists, new Comparator<StoredList>() { diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java index a925597..a2c9367 100644 --- a/main/src/cgeo/geocaching/cgData.java +++ b/main/src/cgeo/geocaching/cgData.java @@ -2480,8 +2480,8 @@ public class cgData { } } - public static @NonNull - List<StoredList> getLists() { + @NonNull + public static List<StoredList> getLists() { init(); final Resources res = cgeoapplication.getInstance().getResources(); |
