Changeset 11522 in josm for trunk


Ignore:
Timestamp:
2017-01-31T23:41:26+01:00 (2 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:NAB_NEEDLESS_BOXING_VALUEOF - Performance - Method converts String to boxed primitive using excessive boxing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionImporter.java

    r10626 r11522  
    106106                break;
    107107            case "exif-image-direction":
    108                 entry.setExifImgDir(Double.parseDouble(attrElem.getTextContent()));
     108                entry.setExifImgDir(Double.valueOf(attrElem.getTextContent()));
    109109                break;
    110110            case "is-new-gps-data":
Note: See TracChangeset for help on using the changeset viewer.