Ignore:
Timestamp:
2012-01-24T21:52:43+01:00 (12 years ago)
Author:
jttt
Message:

Use final were appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r4627 r4869  
    6464    public static final String PROPNAME_CENTER = "center";
    6565    public static final String PROPNAME_SCALE  = "scale";
    66    
     66
    6767    /**
    6868     * the zoom listeners
     
    237237                1.0/scale, 0.0, 0.0, -1.0/scale, getWidth()/2.0 - center.east()/scale, getHeight()/2.0 + center.north()/scale);
    238238    }
    239    
     239
    240240    /**
    241241     * Return the point on the screen where this Coordinate would be.
     
    394394                        }
    395395                    }
    396             ).start();
     396                    ).start();
    397397        }
    398398    }
     
    11611161    public int getViewID() {
    11621162        String x = center.east() + "_" + center.north() + "_" + scale + "_" +
    1163         getWidth() + "_" + getHeight() + "_" + getProjection().toString();
     1163                getWidth() + "_" + getHeight() + "_" + getProjection().toString();
    11641164        java.util.zip.CRC32 id = new java.util.zip.CRC32();
    11651165        id.update(x.getBytes());
     
    12091209    public static final SystemOfMeasurement IMPERIAL_SOM = new SystemOfMeasurement(0.3048, "ft", 1609.344, "mi");
    12101210
    1211     public static Map<String, SystemOfMeasurement> SYSTEMS_OF_MEASUREMENT;
     1211    public static final Map<String, SystemOfMeasurement> SYSTEMS_OF_MEASUREMENT;
    12121212    static {
    12131213        SYSTEMS_OF_MEASUREMENT = new LinkedHashMap<String, SystemOfMeasurement>();
Note: See TracChangeset for help on using the changeset viewer.