Ignore:
Timestamp:
2016-01-25T08:50:10+01:00 (8 years ago)
Author:
Don-vip
Message:

fix NPE

File:
1 edited

Legend:

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

    r8512 r9625  
    3434    }
    3535
     36    /** indicates whether to use the default OSM URL or not */
     37    private final OsmApiUrlInputPanel pnlApiUrlPreferences = new OsmApiUrlInputPanel();
     38
    3639    private ServerAccessPreference() {
    3740        super(/* ICON(preferences/) */ "connection", tr("Connection Settings"),
    3841                tr("Connection Settings for the OSM server."), false, new JTabbedPane());
    3942    }
    40 
    41     /** indicates whether to use the default OSM URL or not */
    42     private OsmApiUrlInputPanel pnlApiUrlPreferences;
    4343
    4444    /**
     
    6767        gc.weightx = 1.0;
    6868        gc.insets = new Insets(0, 0, 0, 0);
    69         pnlApiUrlPreferences = new OsmApiUrlInputPanel();
    7069        pnl.add(pnlApiUrlPreferences, gc);
    7170
Note: See TracChangeset for help on using the changeset viewer.