Changeset 18828 in osm for applications/editors/josm
- Timestamp:
- 2009-11-27T21:46:41+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/IntConfigurer.java
r18827 r18828 39 39 } 40 40 41 public void setValue(String s) { 42 Integer i = null; 43 try { 44 i = Integer.valueOf(s); 45 } 46 catch (NumberFormatException e) { 47 i = null; 48 } 49 if (i != null) { 50 setValue(i); 51 } 52 } 53 41 54 public int getIntValue(int defaultValue) { 42 55 if (getValue() instanceof Integer) { -
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPreferences.java
r18827 r18828 92 92 landsatResConfig.setValue(Main.pref.getInteger(PREF_LANDSAT_RES, 4000)); 93 93 landsatSizeConfig.setValue(Main.pref.getInteger(PREF_LANDSAT_SIZE, 2000)); 94 System.out.println("set");95 94 eastOffsetConfig.setValue(Main.pref.getDouble(PREF_EAST_OFFSET, 0.0)); 96 95 northOffsetConfig.setValue(Main.pref.getDouble(PREF_NORTH_OFFSET, 0.0));
Note:
See TracChangeset
for help on using the changeset viewer.