Changeset 13104 in josm for trunk/src/org/openstreetmap


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

fix some recent Sonar issues

Location:
trunk/src/org/openstreetmap/josm
Files:
2 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
  • trunk/src/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProvider.java

    r13050 r13104  
    4242     * @since 13050
    4343     */
    44     public static double parseDouble(String s) throws NumberFormatException {
     44    public static double parseDouble(String s) {
    4545        String text = s;
    4646        NumberFormat format = DecimalFormat.getInstance();
Note: See TracChangeset for help on using the changeset viewer.