aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-01-12 08:36:10 +0100
committerBananeweizen <bananeweizen@gmx.de>2014-01-12 08:36:10 +0100
commitf1f38d264084d5044998abb5d7587e147afdf769 (patch)
tree1fb006e9b1bf3ca2b95820c1f13165cf1aaf2cab /main/src/cgeo/geocaching/Geocache.java
parent1e663778359c192d674e2ab9f77480bdba609be5 (diff)
downloadcgeo-f1f38d264084d5044998abb5d7587e147afdf769.zip
cgeo-f1f38d264084d5044998abb5d7587e147afdf769.tar.gz
cgeo-f1f38d264084d5044998abb5d7587e147afdf769.tar.bz2
refactoring: remove unused code
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 66d37bd..30ab55f 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -33,6 +33,7 @@ import cgeo.geocaching.utils.MatcherWrapper;
import cgeo.geocaching.utils.UncertainProperty;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.collections4.Predicate;
import org.apache.commons.lang3.BooleanUtils;
@@ -1366,17 +1367,6 @@ public class Geocache implements ICache, IWaypoint {
}
/**
- * Retrieve a given waypoint.
- *
- * @param index
- * the index of the waypoint
- * @return waypoint or <code>null</code> if index is out of range
- */
- public Waypoint getWaypoint(final int index) {
- return index >= 0 && index < waypoints.size() ? waypoints.get(index) : null;
- }
-
- /**
* Lookup a waypoint by its id.
*
* @param id