diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 12:37:43 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 12:37:43 +0200 |
commit | 16fad207ba63733a572a3e0aad171a677f85a44d (patch) | |
tree | bbe01baaebb8305d5c6a11dfac3f1f3f9d758d35 /main/src/cgeo/geocaching/GeoDataProvider.java | |
parent | d89efa23659dae79735292c2336d7f3fb103a918 (diff) | |
download | cgeo-16fad207ba63733a572a3e0aad171a677f85a44d.zip cgeo-16fad207ba63733a572a3e0aad171a677f85a44d.tar.gz cgeo-16fad207ba63733a572a3e0aad171a677f85a44d.tar.bz2 |
Remove Now from methods of IGeoData
Diffstat (limited to 'main/src/cgeo/geocaching/GeoDataProvider.java')
-rw-r--r-- | main/src/cgeo/geocaching/GeoDataProvider.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/src/cgeo/geocaching/GeoDataProvider.java b/main/src/cgeo/geocaching/GeoDataProvider.java index 97a9bd9..1d05945 100644 --- a/main/src/cgeo/geocaching/GeoDataProvider.java +++ b/main/src/cgeo/geocaching/GeoDataProvider.java @@ -82,17 +82,17 @@ class GeoDataProvider extends MemorySubject<IGeoData> { } @Override - public Geopoint getCoordsNow() { + public Geopoint getCoords() { return new Geopoint(location); } @Override - public Double getAltitudeNow() { + public double getAltitude() { return location.getAltitude(); } @Override - public float getBearingNow() { + public float getBearing() { return location.getBearing(); } @@ -102,12 +102,12 @@ class GeoDataProvider extends MemorySubject<IGeoData> { } @Override - public float getSpeedNow() { + public float getSpeed() { return location.getSpeed(); } @Override - public float getAccuracyNow() { + public float getAccuracy() { return location.getAccuracy(); } @@ -325,7 +325,7 @@ class GeoDataProvider extends MemorySubject<IGeoData> { current.location = locationData.location; notifyObservers(current.makeImmutable()); - Go4Cache.signalCoordinates(current.getCoordsNow()); + Go4Cache.signalCoordinates(current.getCoords()); } } |