Changeset 13180 in josm for trunk/src


Ignore:
Timestamp:
2017-12-02T00:59:36+01:00 (6 years ago)
Author:
Don-vip
Message:

see #15310 - remove Main.worker

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r13173 r13180  
    3636import org.openstreetmap.josm.data.projection.Projection;
    3737import org.openstreetmap.josm.data.projection.ProjectionChangeListener;
    38 import org.openstreetmap.josm.gui.MainApplication;
    3938import org.openstreetmap.josm.io.FileWatcher;
    4039import org.openstreetmap.josm.io.OnlineResource;
     
    8180
    8281    /**
    83      * The worker thread slave. This is for executing all long and intensive
    84      * calculations. The executed runnables are guaranteed to be executed separately and sequential.
    85      * @deprecated use {@link MainApplication#worker} instead
    86      */
    87     @Deprecated
    88     public static ExecutorService worker;
    89 
    90     /**
    9182     * Global application preferences
    9283     */
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r13174 r13180  
    221221     */
    222222    public static final ExecutorService worker = new ProgressMonitorExecutor("main-worker-%d", Thread.NORM_PRIORITY);
    223     static {
    224         Main.worker = worker;
    225     }
    226223
    227224    /**
Note: See TracChangeset for help on using the changeset viewer.