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

sonar - Immutable Field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/upload/FixDataHook.java

    r8512 r9067  
    3030     * List of checks to run on data
    3131     */
    32     private List<FixData> deprecated = new LinkedList<>();
     32    private final List<FixData> deprecated = new LinkedList<>();
    3333
    3434    /**
     
    107107    public static class FixDataKey implements FixData {
    108108        /** key of wrong data */
    109         private String oldKey;
     109        private final String oldKey;
    110110        /** key of correct data */
    111         private String newKey;
     111        private final String newKey;
    112112
    113113        /**
     
    141141    public static class FixDataTag implements FixData {
    142142        /** key of wrong data */
    143         private String oldKey;
     143        private final String oldKey;
    144144        /** value of wrong data */
    145         private String oldValue;
     145        private final String oldValue;
    146146        /** key of correct data */
    147         private String newKey;
     147        private final String newKey;
    148148        /** value of correct data */
    149         private String newValue;
     149        private final String newValue;
    150150
    151151        /**
Note: See TracChangeset for help on using the changeset viewer.