Changeset 5780 in josm
- Timestamp:
- 2013-03-18T18:24:40+01:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
r5670 r5780 114 114 zoomLvl = Double.parseDouble(zm.getText()); 115 115 ll = new LatLon(Double.parseDouble(lat.getText()), Double.parseDouble(lon.getText())); 116 } catch (Exception ex) { 116 } catch (NumberFormatException ex) { 117 117 JOptionPane.showMessageDialog(Main.parent, tr("Could not parse Latitude, Longitude or Zoom. Please check."), tr("Unable to parse Lon/Lat"), JOptionPane.ERROR_MESSAGE); 118 118 } -
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r4982 r5780 150 150 */ 151 151 public SequenceCommand simplifyWay(Way w, DataSet ds) { 152 double threshold = Double.parseDouble(Main.pref.get("simplify-way.max-error", "3"));152 double threshold = Main.pref.getDouble("simplify-way.max-error", "3"); 153 153 int lower = 0; 154 154 int i = 0;
Note:
See TracChangeset
for help on using the changeset viewer.