Ignore:
Timestamp:
2017-08-24T15:54:00+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.worker, replace it by gui.MainApplication.worker + code refactoring to make sure only editor packages use it

File:
1 edited

Legend:

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

    r10791 r12634  
    3636
    3737import org.openstreetmap.josm.Main;
    38 import org.openstreetmap.josm.data.CustomConfigurator;
    3938import org.openstreetmap.josm.data.Preferences;
    4039import org.openstreetmap.josm.data.oauth.OAuthParameters;
     
    306305    public void initFromPreferences() {
    307306        // Copy current JOSM preferences to update API url with the one used in this wizard
    308         Preferences copyPref = CustomConfigurator.clonePreferences(Main.pref);
     307        Preferences copyPref = new Preferences(Main.pref);
    309308        copyPref.put("osm-server.url", apiUrl);
    310309        pnlFullyAutomaticAuthorisationUI.initFromPreferences(copyPref);
Note: See TracChangeset for help on using the changeset viewer.