Ignore:
Timestamp:
2014-02-27T02:50:12+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (Constructor Calls Overridable Method)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/WindowGeometry.java

    r6889 r6890  
    161161    }
    162162
    163     protected void initFromPreferences(String preferenceKey) throws WindowGeometryException {
     163    protected final void initFromPreferences(String preferenceKey) throws WindowGeometryException {
    164164        String value = Main.pref.get(preferenceKey);
    165165        if (value == null || value.isEmpty())
     
    173173    }
    174174
    175     protected void initFromWindowGeometry(WindowGeometry other) {
     175    protected final void initFromWindowGeometry(WindowGeometry other) {
    176176        this.topLeft = other.topLeft;
    177177        this.extent = other.extent;
Note: See TracChangeset for help on using the changeset viewer.