Ignore:
Timestamp:
2016-05-15T16:37:33+02:00 (8 years ago)
Author:
Don-vip
Message:

findbugs - SF_SWITCH_NO_DEFAULT + various sonar fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java

    r10183 r10217  
    5555    private String apiUrl;
    5656
     57    /**
     58     * Constructs a new {@code AdvancedOAuthPropertiesPanel}.
     59     */
     60    public AdvancedOAuthPropertiesPanel() {
     61        build();
     62    }
     63
    5764    protected final void build() {
    5865        setLayout(new GridBagLayout());
     
    111118        SelectAllOnFocusGainedDecorator.decorate(tfAccessTokenURL);
    112119
    113 
    114120        // -- authorise URL
    115121        gc.gridy = 5;
     
    123129        SelectAllOnFocusGainedDecorator.decorate(tfAuthoriseURL);
    124130
    125 
    126131        // -- OSM login URL
    127132        gc.gridy = 6;
     
    134139        add(tfOsmLoginURL, gc);
    135140        SelectAllOnFocusGainedDecorator.decorate(tfOsmLoginURL);
    136 
    137141
    138142        // -- OSM logout URL
     
    250254
    251255    /**
    252      * Constructs a new {@code AdvancedOAuthPropertiesPanel}.
    253      */
    254     public AdvancedOAuthPropertiesPanel() {
    255         build();
    256     }
    257 
    258     /**
    259256     * Initializes the panel from the values in the preferences <code>preferences</code>.
    260257     *
     
    308305                setChildComponentsEnabled(true);
    309306                break;
     307            default: // Do nothing
    310308            }
    311309        }
Note: See TracChangeset for help on using the changeset viewer.