Changeset 35666 in osm for applications


Ignore:
Timestamp:
2020-12-07T18:11:07+01:00 (4 years ago)
Author:
GerdP
Message:

fix some sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/ToolSettings.java

    r35171 r35666  
    2828
    2929    private static Shape shape = loadShape();
    30     private static double width = 0;
    31     private static double lenstep = 0;
     30    private static double width;
     31    private static double lenstep;
    3232    private static boolean useAddr;
    3333    private static final Map<String, String> TAGS = new HashMap<>();
     
    3939    }
    4040
    41     public static void setAddrDialog(boolean _useAddr) {
    42         useAddr = _useAddr;
     41    public static void setAddrDialog(boolean useAddr) {
     42        ToolSettings.useAddr = useAddr;
    4343    }
    4444
     
    124124    }
    125125
    126     public static void setAutoSelect(boolean _autoSelect) {
    127         autoSelect = _autoSelect;
     126    public static void setAutoSelect(boolean autoSelect) {
     127        ToolSettings.autoSelect = autoSelect;
    128128    }
    129129
Note: See TracChangeset for help on using the changeset viewer.