Ignore:
Timestamp:
2013-09-27T13:38:15+02:00 (6 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Replace singular fields by local variables

File:
1 edited

Legend:

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

    r6135 r6267  
    6363public class NTV2GridShiftFile implements Serializable {
    6464
    65     private String overviewHeaderCountId;
    6665    private int overviewHeaderCount;
    6766    private int subGridHeaderCount;
     
    104103        topLevelSubGrid = null;
    105104        in.read(b8);
    106         overviewHeaderCountId = new String(b8);
     105        String overviewHeaderCountId = new String(b8);
    107106        if (!"NUM_OREC".equals(overviewHeaderCountId))
    108107            throw new IllegalArgumentException("Input file is not an NTv2 grid shift file");
Note: See TracChangeset for help on using the changeset viewer.