Changeset 3749 in josm for trunk/src/org
- Timestamp:
- 2010-12-28T18:40:12+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r3747 r3749 462 462 463 463 public void finishRequest(WMSRequest request) { 464 if (request.getState() == null)465 throw new IllegalArgumentException("Finished request without state");466 464 requestQueueLock.lock(); 467 465 try { 468 466 processingRequests.remove(request); 469 finishedRequests.add(request); 467 if (request.getState() != null) { 468 finishedRequests.add(request); 469 mv.repaint(); 470 } 470 471 } finally { 471 472 requestQueueLock.unlock(); -
trunk/src/org/openstreetmap/josm/io/imagery/Grabber.java
r3747 r3749 71 71 attempt(request); 72 72 } 73 if (request.getState() != null) { 74 layer.finishRequest(request); 75 mv.repaint(); 76 } 73 layer.finishRequest(request); 77 74 } 78 75 }
Note:
See TracChangeset
for help on using the changeset viewer.