aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-12-01 12:00:48 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-12-01 12:00:48 +0100
commitd9887e50d58d089c9379faca4f3b4d0e3bf5d564 (patch)
treefb68ed4a478e1efd53e53316c78ccf9bfb3dd3c0 /main/src/cgeo/geocaching/enumerations
parent9e8bd582fe704f06414f4018da65a49976511541 (diff)
downloadcgeo-d9887e50d58d089c9379faca4f3b4d0e3bf5d564.zip
cgeo-d9887e50d58d089c9379faca4f3b4d0e3bf5d564.tar.gz
cgeo-d9887e50d58d089c9379faca4f3b4d0e3bf5d564.tar.bz2
refactoring: remove unused code
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations')
-rw-r--r--main/src/cgeo/geocaching/enumerations/CacheAttribute.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/CacheAttribute.java b/main/src/cgeo/geocaching/enumerations/CacheAttribute.java
index a31b0cc..e29e176 100644
--- a/main/src/cgeo/geocaching/enumerations/CacheAttribute.java
+++ b/main/src/cgeo/geocaching/enumerations/CacheAttribute.java
@@ -110,15 +110,6 @@ public enum CacheAttribute {
FIND_BY_GCRAWNAME = Collections.unmodifiableMap(mapGcRawNames);
}
- public static CacheAttribute getById(final int id) {
- for (CacheAttribute attr : values()) {
- if (attr.id == id) {
- return attr;
- }
- }
- return UNKNOWN;
- }
-
public static CacheAttribute getByGcRawName(final String gcRawName) {
final CacheAttribute result = gcRawName != null ? FIND_BY_GCRAWNAME.get(gcRawName) : null;
if (result == null) {