Changeset 31538 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2015-09-08T15:29:07+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java
r31536 r31538 14 14 import java.util.concurrent.Executors; 15 15 import java.util.concurrent.Future; 16 import java.util.concurrent.ThreadFactory; 16 17 import java.util.concurrent.TimeUnit; 17 18 import java.util.concurrent.TimeoutException; … … 257 258 synchronized (BingAerialTileSource.class) { 258 259 if (attributions == null) { 259 attributions = Executors.newSingleThreadExecutor().submit(getAttributionLoaderCallable()); 260 attributions = Executors.newSingleThreadExecutor(new ThreadFactory() { 261 @Override 262 public Thread newThread(Runnable r) { 263 return new Thread(r, "bing-attribution-loader"); 264 } 265 }).submit(getAttributionLoaderCallable()); 260 266 } 261 267 }
Note:
See TracChangeset
for help on using the changeset viewer.