aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/ui/dialog
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/ui/dialog
parent1e663778359c192d674e2ab9f77480bdba609be5 (diff)
downloadcgeo-f1f38d264084d5044998abb5d7587e147afdf769.zip
cgeo-f1f38d264084d5044998abb5d7587e147afdf769.tar.gz
cgeo-f1f38d264084d5044998abb5d7587e147afdf769.tar.bz2
refactoring: remove unused code
Diffstat (limited to 'main/src/cgeo/geocaching/ui/dialog')
-rw-r--r--main/src/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java b/main/src/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java
index 93f50e1..651ff6e 100644
--- a/main/src/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java
+++ b/main/src/cgeo/geocaching/ui/dialog/CoordinatesInputDialog.java
@@ -54,7 +54,7 @@ public class CoordinatesInputDialog extends NoTitleDialog {
} else if (geo != null && geo.getCoords() != null) {
this.gp = geo.getCoords();
} else {
- this.gp = new Geopoint(0.0, 0.0);
+ this.gp = Geopoint.ZERO;
}
}
@@ -396,7 +396,7 @@ public class CoordinatesInputDialog extends NoTitleDialog {
if (geo != null && geo.getCoords() != null) {
gp = geo.getCoords();
} else {
- gp = new Geopoint(0.0, 0.0);
+ gp = Geopoint.ZERO;
}
}
}