Changeset 11397 in josm for trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
- Timestamp:
- 2016-12-14T15:50:53+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r11331 r11397 213 213 */ 214 214 protected String getServerKey() { 215 return getUrlNoException().getHost(); 215 try { 216 return getUrl().getHost(); 217 } catch (IOException e) { 218 Main.trace(e); 219 return null; 220 } 216 221 } 217 222 … … 255 260 Set<ICachedLoaderListener> listeners; 256 261 synchronized (inProgress) { 257 listeners = inProgress.remove(getUrlNoException().toString()); 262 try { 263 listeners = inProgress.remove(getUrl().toString()); 264 } catch (IOException e) { 265 listeners = null; 266 Main.trace(e); 267 } 258 268 } 259 269 if (listeners == null) {
Note:
See TracChangeset
for help on using the changeset viewer.