Ignore:
Timestamp:
2015-01-10T05:00:43+01:00 (9 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

File:
1 edited

Legend:

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

    r7082 r7951  
    129129        in.read(b8);
    130130        in.read(b8);
    131         version = new String(b8);
    132         in.read(b8);
    133         in.read(b8);
    134         fromEllipsoid = new String(b8);
    135         in.read(b8);
    136         in.read(b8);
    137         toEllipsoid = new String(b8);
     131        version = new String(b8, StandardCharsets.UTF_8);
     132        in.read(b8);
     133        in.read(b8);
     134        fromEllipsoid = new String(b8, StandardCharsets.UTF_8);
     135        in.read(b8);
     136        in.read(b8);
     137        toEllipsoid = new String(b8, StandardCharsets.UTF_8);
    138138        in.read(b8);
    139139        in.read(b8);
Note: See TracChangeset for help on using the changeset viewer.