Ignore:
Timestamp:
2015-09-08T15:20:34+02:00 (9 years ago)
Author:
simon04
Message:

see #11843 - Give all started threads sensible names

Utils#newThreadFactory creates a ThreadFactory to be used when
obtaining a new Executor via Executors.new….

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadLayerTask.java

    r8510 r8734  
    3131 *     ExecutorService executorService = ...
    3232 *     UploadLayerTask task = new UploadLayerTask(layer, monitor);
    33  *     Future<?> taskFuture = executorServce.submit(task)
     33 *     Future<?> taskFuture = executorService.submit(task)
    3434 *     try {
    3535 *        // wait for the task to complete
    3636 *        taskFuture.get();
    3737 *     } catch (Exception e) {
    38  *        e.printStackTracek();
     38 *        e.printStackTrace();
    3939 *     }
    4040 * </pre>
Note: See TracChangeset for help on using the changeset viewer.