aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/StoredList.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-02-14 06:01:53 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-02-14 06:01:53 +0100
commit605d14aad4f3431a8028d83e02afbdb3ee71191f (patch)
tree7fa343215b3ea9b60e240198ff69b9cc9240492b /main/src/cgeo/geocaching/StoredList.java
parentebabc0cf3d764b95f2713b50ae0eb280a992e59a (diff)
downloadcgeo-605d14aad4f3431a8028d83e02afbdb3ee71191f.zip
cgeo-605d14aad4f3431a8028d83e02afbdb3ee71191f.tar.gz
cgeo-605d14aad4f3431a8028d83e02afbdb3ee71191f.tar.bz2
fix tests for stored lists
* count member shall not be accessible outside * use global app functions for getting current list item count
Diffstat (limited to 'main/src/cgeo/geocaching/StoredList.java')
-rw-r--r--main/src/cgeo/geocaching/StoredList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/StoredList.java b/main/src/cgeo/geocaching/StoredList.java
index b88a6bb..3b5a47a 100644
--- a/main/src/cgeo/geocaching/StoredList.java
+++ b/main/src/cgeo/geocaching/StoredList.java
@@ -7,7 +7,7 @@ public class StoredList {
public final int id;
public final String title;
- public final int count;
+ private final int count; // this value is only valid as long as the list is not changed by other database operations
public StoredList(int id, String title, int count) {
this.id = id;