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/download/BookmarkList.java

    r12620 r12634  
    3333import org.openstreetmap.josm.data.projection.Projections;
    3434import org.openstreetmap.josm.gui.JosmUserIdentityManager;
     35import org.openstreetmap.josm.gui.MainApplication;
    3536import org.openstreetmap.josm.gui.MapViewState;
    3637import org.openstreetmap.josm.gui.dialogs.changeset.ChangesetCacheManager;
     
    334335                final ChangesetQueryTask task = new ChangesetQueryTask(this, query);
    335336                ChangesetCacheManager.getInstance().runDownloadTask(task);
    336                 Main.worker.submit(() -> {
     337                MainApplication.worker.submit(() -> {
    337338                    if (task.isCanceled() || task.isFailed())
    338339                        return;
Note: See TracChangeset for help on using the changeset viewer.