Changeset 12733 in josm


Ignore:
Timestamp:
2017-09-05T02:27:50+02:00 (21 months ago)
Author:
Don-vip
Message:

see #15167 - sonar - pmd:ImmutableField - Immutable Field

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r12706 r12733  
    643643    private static class DownloadDialogSplitPane extends JSplitPane {
    644644        private DownloadSourceSizingPolicy policy;
    645         private JTabbedPane topComponent;
     645        private final JTabbedPane topComponent;
    646646
    647647        DownloadDialogSplitPane(JTabbedPane newTopComponent, Component newBottomComponent) {
  • trunk/src/org/openstreetmap/josm/gui/download/OverpassDownloadSource.java

    r12707 r12733  
    9191        private static final String ACTION_IMG_SUBDIR = "dialogs";
    9292
    93         private JosmTextArea overpassQuery;
    94         private OverpassQueryList overpassQueryList;
     93        private final JosmTextArea overpassQuery;
     94        private final OverpassQueryList overpassQueryList;
    9595
    9696        /**
     
    379379     */
    380380    static class OverpassDownloadData {
    381         private String query;
    382         private Consumer<Collection<Object>> errorReporter;
     381        private final String query;
     382        private final Consumer<Collection<Object>> errorReporter;
    383383
    384384        OverpassDownloadData(String query, Consumer<Collection<Object>> errorReporter) {
Note: See TracChangeset for help on using the changeset viewer.