Changeset 4077 in josm


Ignore:
Timestamp:
2011-05-07T19:41:41+02:00 (13 years ago)
Author:
jttt
Message:

Fix #6320 imagery: Concurrent Modification Exception using jahoo sat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WmsCache.java

    r4067 r4077  
    531531    }
    532532
    533     public void setAreaToCache(Set<ProjectionBounds> areaToCache) {
     533    public synchronized void setAreaToCache(Set<ProjectionBounds> areaToCache) {
    534534        this.areaToCache = areaToCache;
    535535        Iterator<CacheEntry> it = memoryCache.keySet().iterator();
     
    540540        }
    541541    }
    542 
    543     public Set<ProjectionBounds> getAreaToCache() {
    544         return areaToCache;
    545     }
    546542}
Note: See TracChangeset for help on using the changeset viewer.