Ignore:
Timestamp:
2017-01-31T23:15:20+01:00 (8 years ago)
Author:
Don-vip
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r11452 r11518  
    448448                    break;
    449449                case "valid-georeference":
    450                     entry.setGeoreferenceValid(Boolean.valueOf(accumulator.toString()));
     450                    entry.setGeoreferenceValid(Boolean.parseBoolean(accumulator.toString()));
    451451                    break;
    452452                case "epsg4326to3857Supported":
    453                     entry.setEpsg4326To3857Supported(Boolean.valueOf(accumulator.toString()));
     453                    entry.setEpsg4326To3857Supported(Boolean.parseBoolean(accumulator.toString()));
    454454                    break;
    455455                default: // Do nothing
Note: See TracChangeset for help on using the changeset viewer.