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

fix some Sonar issues (Constructor Calls Overridable Method)

Location:
trunk/src/org/openstreetmap/josm/gui/bbox
Files:
2 edited

Legend:

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

    r6793 r6890  
    226226    }
    227227
    228     public void setFileCacheEnabled(boolean enabled) {
     228    public final void setFileCacheEnabled(boolean enabled) {
    229229        if (enabled) {
    230230            setTileLoader(cachedLoader);
     
    234234    }
    235235
    236     public void setMaxTilesInMemory(int tiles) {
     236    public final void setMaxTilesInMemory(int tiles) {
    237237        ((MemoryTileCache) getTileCache()).setCacheSize(tiles);
    238238    }
    239 
    240239
    241240    /**
  • trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java

    r6883 r6890  
    9696     * builds the UI
    9797     */
    98     protected void build() {
     98    protected final void build() {
    9999        setLayout(new GridBagLayout());
    100100
Note: See TracChangeset for help on using the changeset viewer.