Changeset 4077 in josm


Ignore:
Timestamp:
May 7, 2011 7:41:41 PM (2 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.