Ignore:
Timestamp:
2016-03-26T15:10:06+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2129 - Constructors should not be used to instantiate "String" and primitive-wrapper classes

File:
1 edited

Legend:

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

    r9231 r10045  
    410410                        currentWayPoint.put(localName, Float.valueOf(accumulator.toString()));
    411411                    } catch (Exception e) {
    412                         currentWayPoint.put(localName, new Float(0));
     412                        currentWayPoint.put(localName, 0f);
    413413                    }
    414414                    break;
Note: See TracChangeset for help on using the changeset viewer.