Ignore:
Timestamp:
2016-05-31T00:14:15+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - pmd:ImmutableField + remove unused code

Location:
trunk/src/org/openstreetmap/josm/gui/preferences
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java

    r10179 r10306  
    300300    private final JPanel projSubPrefPanelWrapper = new JPanel(new GridBagLayout());
    301301
    302     private JLabel projectionCodeLabel = new JLabel(tr("Projection code"));
    303     private Component projectionCodeGlue = GBC.glue(5, 0);
     302    private final JLabel projectionCodeLabel = new JLabel(tr("Projection code"));
     303    private final Component projectionCodeGlue = GBC.glue(5, 0);
    304304    private final JLabel projectionCode = new JLabel();
    305305    private final JLabel projectionNameLabel = new JLabel(tr("Projection name"));
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/OverpassServerPreference.java

    r10196 r10306  
    3737    private static final BooleanProperty FOR_MULTI_FETCH = new BooleanProperty("download.overpass.for-multi-fetch", false);
    3838
    39     private HistoryComboBox overpassServer = new HistoryComboBox();
     39    private final HistoryComboBox overpassServer = new HistoryComboBox();
    4040    private final JCheckBox forMultiFetch = new JCheckBox(tr("Use Overpass server for object downloads"));
    4141
Note: See TracChangeset for help on using the changeset viewer.