Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (6 weeks ago)
Author:
taylor.smock
Message:

Revert most var changes from r19048, fix most new compile warnings and checkstyle issues

Also, document why various ErrorProne checks were originally disabled and fix
generic SonarLint issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java

    r18173 r19050  
    55
    66import java.awt.Font;
     7import java.awt.GridBagConstraints;
    78import java.awt.GridBagLayout;
    89import java.awt.event.ActionEvent;
     
    8384
    8485        // the checkbox for the default UL
    85         add(buildDefaultServerUrlPanel(), GBC.eop().fill(GBC.HORIZONTAL));
     86        add(buildDefaultServerUrlPanel(), GBC.eop().fill(GridBagConstraints.HORIZONTAL));
    8687
    8788        // the input field for the URL
    8889        add(lblApiUrl, GBC.std().insets(0, 0, 3, 0));
    89         add(tfOsmServerUrl, GBC.std().fill(GBC.HORIZONTAL).insets(0, 0, 3, 0));
     90        add(tfOsmServerUrl, GBC.std().fill(GridBagConstraints.HORIZONTAL).insets(0, 0, 3, 0));
    9091        lblApiUrl.setLabelFor(tfOsmServerUrl);
    9192        SelectAllOnFocusGainedDecorator.decorate(tfOsmServerUrl.getEditorComponent());
     
    257258        @Override
    258259        public void itemStateChanged(ItemEvent e) {
    259             switch(e.getStateChange()) {
     260            switch (e.getStateChange()) {
    260261            case ItemEvent.SELECTED:
    261262                setApiUrlInputEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.