aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/list/AbstractList.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/list/AbstractList.java')
-rw-r--r--main/src/cgeo/geocaching/list/AbstractList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/list/AbstractList.java b/main/src/cgeo/geocaching/list/AbstractList.java
index 9b57b3a..5836e6c 100644
--- a/main/src/cgeo/geocaching/list/AbstractList.java
+++ b/main/src/cgeo/geocaching/list/AbstractList.java
@@ -8,7 +8,7 @@ public abstract class AbstractList {
public final int id;
public final String title;
- private static SparseArray<AbstractList> LISTS = new SparseArray<>();
+ private final static SparseArray<AbstractList> LISTS = new SparseArray<>();
public AbstractList(final int id, final String title) {
this.id = id;
@@ -25,7 +25,7 @@ public abstract class AbstractList {
public abstract int getNumberOfCaches();
@Nullable
- public static AbstractList getListById(int listId) {
+ public static AbstractList getListById(final int listId) {
return LISTS.get(listId);
}