Ignore:
Timestamp:
2015-05-18T02:14:30+02:00 (9 years ago)
Author:
Don-vip
Message:

Sonar - various performance improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java

    r8384 r8390  
    335335        for (String str : numStr) {
    336336            try {
    337                 towgs84Param.add(Double.parseDouble(str));
     337                towgs84Param.add(Double.valueOf(str));
    338338            } catch (NumberFormatException e) {
    339339                throw new ProjectionConfigurationException(tr("Unable to parse value of parameter ''towgs84'' (''{0}'')", str), e);
     
    496496        if (code != null && code.startsWith("EPSG:")) {
    497497            try {
    498                 return Integer.parseInt(code.substring(5));
     498                return Integer.valueOf(code.substring(5));
    499499            } catch (NumberFormatException e) {
    500500                Main.warn(e);
Note: See TracChangeset for help on using the changeset viewer.