aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/files/GPXImporter.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXImporter.java b/main/src/cgeo/geocaching/files/GPXImporter.java
index 6e11679..a500fe7 100644
--- a/main/src/cgeo/geocaching/files/GPXImporter.java
+++ b/main/src/cgeo/geocaching/files/GPXImporter.java
@@ -394,22 +394,6 @@ public class GPXImporter {
};
/**
- * @param name
- * the gpx file name
- * @return the expected file name of the waypoints file
- *
- * @deprecated use {@link #getWaypointsFileNameForGpxFile(File)} instead
- */
- @Deprecated
- static String getWaypointsFileNameForGpxFileName(String name) {
- if (StringUtils.endsWithIgnoreCase(name, GPX_FILE_EXTENSION) && (StringUtils.length(name) > GPX_FILE_EXTENSION.length())) {
- return StringUtils.substringBeforeLast(name, ".") + WAYPOINTS_FILE_SUFFIX_AND_EXTENSION;
- } else {
- return null;
- }
- }
-
- /**
* @param gpxfile
* the gpx file
* @return the expected file name of the waypoints file