Changeset 13180 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-12-02T00:59:36+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r13173 r13180 36 36 import org.openstreetmap.josm.data.projection.Projection; 37 37 import org.openstreetmap.josm.data.projection.ProjectionChangeListener; 38 import org.openstreetmap.josm.gui.MainApplication;39 38 import org.openstreetmap.josm.io.FileWatcher; 40 39 import org.openstreetmap.josm.io.OnlineResource; … … 81 80 82 81 /** 83 * The worker thread slave. This is for executing all long and intensive84 * calculations. The executed runnables are guaranteed to be executed separately and sequential.85 * @deprecated use {@link MainApplication#worker} instead86 */87 @Deprecated88 public static ExecutorService worker;89 90 /**91 82 * Global application preferences 92 83 */ -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r13174 r13180 221 221 */ 222 222 public static final ExecutorService worker = new ProgressMonitorExecutor("main-worker-%d", Thread.NORM_PRIORITY); 223 static {224 Main.worker = worker;225 }226 223 227 224 /**
Note:
See TracChangeset
for help on using the changeset viewer.