Changeset 8390 in josm for trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
- Timestamp:
- 2015-05-18T02:14:30+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r8384 r8390 335 335 for (String str : numStr) { 336 336 try { 337 towgs84Param.add(Double. parseDouble(str));337 towgs84Param.add(Double.valueOf(str)); 338 338 } catch (NumberFormatException e) { 339 339 throw new ProjectionConfigurationException(tr("Unable to parse value of parameter ''towgs84'' (''{0}'')", str), e); … … 496 496 if (code != null && code.startsWith("EPSG:")) { 497 497 try { 498 return Integer. parseInt(code.substring(5));498 return Integer.valueOf(code.substring(5)); 499 499 } catch (NumberFormatException e) { 500 500 Main.warn(e);
Note:
See TracChangeset
for help on using the changeset viewer.