Changeset 12634 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
- Timestamp:
- 2017-08-24T15:54:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r12620 r12634 17 17 import java.util.Collections; 18 18 import java.util.List; 19 import java.util.concurrent.Executors; 19 20 20 21 import javax.swing.UIManager; … … 148 149 Object oFiles = args[0].getClass().getMethod("getFiles").invoke(args[0]); 149 150 if (oFiles instanceof List) { 150 Main.worker.submit(new OpenFileTask((List<File>) oFiles, null) { 151 Executors.newSingleThreadExecutor(Utils.newThreadFactory("openFiles-%d", Thread.NORM_PRIORITY)).submit( 152 new OpenFileTask((List<File>) oFiles, null) { 151 153 @Override 152 154 protected void realRun() throws SAXException, IOException, OsmTransferException {
Note:
See TracChangeset
for help on using the changeset viewer.