Ignore:
Timestamp:
2015-09-08T15:20:34+02:00 (11 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/SaveLayersDialog.java

    r8510 r8734  
    5151import org.openstreetmap.josm.gui.util.GuiHelper;
    5252import org.openstreetmap.josm.tools.ImageProvider;
     53import org.openstreetmap.josm.tools.Utils;
    5354import org.openstreetmap.josm.tools.WindowGeometry;
    5455
     
    445446            this.model = model;
    446447            this.monitor = monitor;
    447             this.worker = Executors.newSingleThreadExecutor();
     448            this.worker = Executors.newSingleThreadExecutor(Utils.newThreadFactory(getClass() + "-%d", Thread.NORM_PRIORITY));
    448449        }
    449450
Note: See TracChangeset for help on using the changeset viewer.