aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2011-12-19 21:42:17 +0100
committerblafoo <github@blafoo.de>2011-12-19 21:42:17 +0100
commit168e614b1000431c0dc53408ad372ed1af6e6253 (patch)
treec0faef4afa1e8b5339632232151dad017a3a9f94 /main/src/cgeo/geocaching/cgCache.java
parentf3964e5801a9ab7e0357be6151c09b7ac4b30438 (diff)
downloadcgeo-168e614b1000431c0dc53408ad372ed1af6e6253.zip
cgeo-168e614b1000431c0dc53408ad372ed1af6e6253.tar.gz
cgeo-168e614b1000431c0dc53408ad372ed1af6e6253.tar.bz2
Fix #903 Rename field "reason" to "listId"
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index cd377ad..616e6fa 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -49,7 +49,7 @@ public class cgCache implements ICache {
private long updated = 0;
private long detailedUpdate = 0;
private long visitedDate = 0;
- private int reason = 0;
+ private int listId = 0;
private boolean detailed = false;
private String geocode = "";
private String cacheId = "";
@@ -120,8 +120,8 @@ public class cgCache implements ICache {
if (visitedDate == 0) {
visitedDate = other.getVisitedDate();
}
- if (reason == 0) {
- reason = other.reason;
+ if (listId == 0) {
+ listId = other.listId;
}
if (StringUtils.isBlank(geocode)) {
geocode = other.getGeocode();
@@ -629,12 +629,12 @@ public class cgCache implements ICache {
this.visitedDate = visitedDate;
}
- public int getReason() {
- return reason;
+ public int getListId() {
+ return listId;
}
- public void setReason(int reason) {
- this.reason = reason;
+ public void setListId(int listId) {
+ this.listId = listId;
}
public boolean getDetailed() {