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/io/RecentlyOpenedFilesMenu.java

    r11366 r12634  
    1919import org.openstreetmap.josm.Main;
    2020import org.openstreetmap.josm.actions.OpenFileAction.OpenFileTask;
     21import org.openstreetmap.josm.gui.MainApplication;
    2122import org.openstreetmap.josm.tools.ImageProvider;
    2223
     
    8586            OpenFileTask task = new OpenFileTask(Collections.singletonList(new File(file)), null);
    8687            task.setRecordHistory(true);
    87             Main.worker.submit(task);
     88            MainApplication.worker.submit(task);
    8889        }
    8990    }
Note: See TracChangeset for help on using the changeset viewer.