Ignore:
Timestamp:
2017-08-24T15:54:00+02:00 (9 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/download/PlaceSelection.java

    r12620 r12634  
    4747import org.openstreetmap.josm.gui.ExceptionDialogUtil;
    4848import org.openstreetmap.josm.gui.HelpAwareOptionPane;
     49import org.openstreetmap.josm.gui.MainApplication;
    4950import org.openstreetmap.josm.gui.PleaseWaitRunnable;
    5051import org.openstreetmap.josm.gui.util.GuiHelper;
     
    190191            Main.pref.putCollection(HISTORY_KEY, cbSearchExpression.getHistory());
    191192            NameQueryTask task = new NameQueryTask(cbSearchExpression.getText());
    192             Main.worker.submit(task);
     193            MainApplication.worker.submit(task);
    193194        }
    194195
Note: See TracChangeset for help on using the changeset viewer.