aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-12-18 11:42:19 +0100
committerBananeweizen <bananeweizen@gmx.de>2011-12-18 11:42:19 +0100
commit0ffc68892d75a9d6570354d0f04b0cfda7d978cd (patch)
tree1ad32112381b223a8974604021ba055b13f21c52 /main/src/cgeo/geocaching/cgCache.java
parent74967130b8eab2f957fa252bfa31aded93b941ef (diff)
downloadcgeo-0ffc68892d75a9d6570354d0f04b0cfda7d978cd.zip
cgeo-0ffc68892d75a9d6570354d0f04b0cfda7d978cd.tar.gz
cgeo-0ffc68892d75a9d6570354d0f04b0cfda7d978cd.tar.bz2
performance: faster opening of lists (~20%), better scrolling
* avoid duplicate distance calculation in distance sorter * avoid String.format() wherever possible * avoid lookups with constant values in database * avoid reinitializing database all the time
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index 5139648..5f27291 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -855,7 +855,6 @@ public class cgCache implements ICache {
this.guid = guid;
}
-
public void setName(String name) {
this.name = name;
}
@@ -924,10 +923,6 @@ public class cgCache implements ICache {
this.logCounts = logCounts;
}
- public void setNameForSorting(String nameForSorting) {
- this.nameForSorting = nameForSorting;
- }
-
/*
* (non-Javadoc)
*