Ignore:
Timestamp:
2017-11-09T20:52:24+01:00 (2 years ago)
Author:
Don-vip
Message:

fix some recent Sonar issues

File:
1 edited

Legend:

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

    r13089 r13104  
    1212import java.util.Optional;
    1313
    14 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;
    15 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;
    1614import org.openstreetmap.josm.data.osm.Node;
    1715import org.openstreetmap.josm.data.osm.OsmPrimitive;
     
    3533import org.openstreetmap.josm.gui.util.GuiHelper;
    3634import org.openstreetmap.josm.spi.preferences.Config;
     35import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;
     36import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;
    3737import org.openstreetmap.josm.tools.Pair;
    3838import org.openstreetmap.josm.tools.Utils;
     
    487487     */
    488488    boolean remove(StyleSource style) {
    489         boolean result = styleSources.remove(style);
    490         return result;
     489        return styleSources.remove(style);
    491490    }
    492491
Note: See TracChangeset for help on using the changeset viewer.