Changeset 9862 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r9861 r9862 63 63 64 64 private static DecimalFormat cDmsMinuteFormatter = new DecimalFormat("00"); 65 private static DecimalFormat cDmsSecondFormatter = new DecimalFormat( "00.0");66 private static DecimalFormat cDmMinuteFormatter = new DecimalFormat( "00.000");65 private static DecimalFormat cDmsSecondFormatter = new DecimalFormat(Main.pref.get("latlon.dms.decimal-format", "00.0")); 66 private static DecimalFormat cDmMinuteFormatter = new DecimalFormat(Main.pref.get("latlon.dm.decimal-format", "00.000")); 67 67 public static final DecimalFormat cDdFormatter; 68 68 public static final DecimalFormat cDdHighPecisionFormatter; -
trunk/test/unit/org/openstreetmap/josm/data/coor/LatLonTest.java
r9861 r9862 20 20 */ 21 21 @Before 22 public void setUp() throws Exception{22 public void setUp() { 23 23 Locale.setDefault(Locale.GERMAN); 24 Main.initApplicationPreferences(); 24 25 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")); // Mercator 25 26 }
Note:
See TracChangeset
for help on using the changeset viewer.