Changeset 31547 in osm for applications


Ignore:
Timestamp:
2015-09-11T22:07:51+02:00 (9 years ago)
Author:
wiktorn
Message:

Move tile loading to separate thread to prevent blocking EDT thread with IO actions - fix compilation errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmTileLoader.java

    r31546 r31547  
    2424 */
    2525public class OsmTileLoader implements TileLoader {
    26     private final static Executor jobDispatcher =
    27             Executors.newSingleThreadExecutor(
    28                     Utils.newThreadFactory("OsmTileLoader-%d", Thread.NORM_PRIORITY)
    29                     );
     26    private final static Executor jobDispatcher = Executors.newSingleThreadExecutor();
    3027
    3128    private final class OsmTileJob implements TileJob {
Note: See TracChangeset for help on using the changeset viewer.