aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/test/mock
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-10 22:53:17 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-11 14:27:00 +0200
commit48cfc74434c22e2d54b32cc659877e648536e818 (patch)
tree4d009359dd0158d58ed6429a63ec2cbc5d93052a /tests/src/cgeo/geocaching/test/mock
parentbcbd5b8c58d40b52ae3243245c9716b95fe41ff3 (diff)
downloadcgeo-48cfc74434c22e2d54b32cc659877e648536e818.zip
cgeo-48cfc74434c22e2d54b32cc659877e648536e818.tar.gz
cgeo-48cfc74434c22e2d54b32cc659877e648536e818.tar.bz2
Waypoint and caches both have coordinates, add ICoordinates interface
Geopoint obviously implements ICoordinates. Also, getLongitude() and getLatitude() were only used in tests, remove them.
Diffstat (limited to 'tests/src/cgeo/geocaching/test/mock')
-rw-r--r--tests/src/cgeo/geocaching/test/mock/MockedCache.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/src/cgeo/geocaching/test/mock/MockedCache.java b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
index 61369ee..2c717a4 100644
--- a/tests/src/cgeo/geocaching/test/mock/MockedCache.java
+++ b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
@@ -5,7 +5,6 @@ import cgeo.geocaching.cgImage;
import cgeo.geocaching.cgTrackable;
import cgeo.geocaching.connector.gc.GCConstants;
import cgeo.geocaching.geopoint.Geopoint;
-import cgeo.geocaching.geopoint.GeopointFormatter;
import cgeo.geocaching.utils.BaseUtils;
import org.apache.commons.lang3.StringUtils;
@@ -75,16 +74,6 @@ public abstract class MockedCache implements ICache {
}
@Override
- public String getLatitude() {
- return coords.format(GeopointFormatter.Format.LAT_DECMINUTE);
- }
-
- @Override
- public String getLongitude() {
- return coords.format(GeopointFormatter.Format.LON_DECMINUTE);
- }
-
- @Override
public boolean isArchived() {
return false;
}