aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-02-24 10:25:43 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-02-24 10:25:43 +0100
commit684e8419fb4fa0f38fe9a1fd3b474a853a274484 (patch)
treeea2320aea9ca2392aec59b6a87b8db676b0f16bd /main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
parentc32d501ce28356c99b3b89d39bc2a3a345018efc (diff)
downloadcgeo-684e8419fb4fa0f38fe9a1fd3b474a853a274484.zip
cgeo-684e8419fb4fa0f38fe9a1fd3b474a853a274484.tar.gz
cgeo-684e8419fb4fa0f38fe9a1fd3b474a853a274484.tar.bz2
code cleanup
* rename several lower case classes * more strict visibility modifiers * Lint warnings * style warnings
Diffstat (limited to 'main/src/cgeo/geocaching/geopoint/GeopointFormatter.java')
-rw-r--r--main/src/cgeo/geocaching/geopoint/GeopointFormatter.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java b/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
index 0e676ce..ba0a4d5 100644
--- a/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
+++ b/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
@@ -5,8 +5,7 @@ import java.util.Locale;
/**
* Formatting of Geopoint.
*/
-public class GeopointFormatter
-{
+public class GeopointFormatter {
/**
* Predefined formats.
*/
@@ -54,8 +53,7 @@ public class GeopointFormatter
* one of the predefined formats
* @return the formatted coordinates
*/
- public static String format(final Format format, final Geopoint gp)
- {
+ public static String format(final Format format, final Geopoint gp) {
final double latSigned = gp.getLatitude();
final double lonSigned = gp.getLongitude();