Ignore:
Timestamp:
2015-11-28T18:26:23+01:00 (4 years ago)
Author:
Don-vip
Message:

sonar - Immutable Field

Location:
trunk/src/org/openstreetmap/josm/data/projection
Files:
3 edited

Legend:

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

    r8840 r9067  
    3535
    3636    private NTV2GridShiftFile instance;
    37     private String gridFileName;
     37    private final String gridFileName;
    3838
    3939    /**
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java

    r8870 r9067  
    4141    private static final long serialVersionUID = 1L;
    4242
    43     private String subGridName;
    44     private String parentSubGridName;
    45     private String created;
    46     private String updated;
    47     private double minLat;
    48     private double maxLat;
    49     private double minLon;
    50     private double maxLon;
    51     private double latInterval;
    52     private double lonInterval;
    53     private int nodeCount;
    54 
    55     private int lonColumnCount;
    56     private int latRowCount;
    57     private float[] latShift;
    58     private float[] lonShift;
     43    private final String subGridName;
     44    private final String parentSubGridName;
     45    private final String created;
     46    private final String updated;
     47    private final double minLat;
     48    private final double maxLat;
     49    private final double minLon;
     50    private final double maxLon;
     51    private final double latInterval;
     52    private final double lonInterval;
     53    private final int nodeCount;
     54
     55    private final int lonColumnCount;
     56    private final int latRowCount;
     57    private final float[] latShift;
     58    private final float[] lonShift;
    5959    private float[] latAccuracy;
    6060    private float[] lonAccuracy;
  • trunk/src/org/openstreetmap/josm/data/projection/proj/ClassProjFactory.java

    r7937 r9067  
    77public class ClassProjFactory implements ProjFactory {
    88
    9     private Class<? extends Proj> projClass;
     9    private final Class<? extends Proj> projClass;
    1010
    1111    public ClassProjFactory(Class<? extends Proj> projClass) {
Note: See TracChangeset for help on using the changeset viewer.