Fix concurrent exception

This commit is contained in:
Victor Shcherb 2013-04-27 17:11:09 +02:00
parent af1e29dc3a
commit 5ca3593d47

View file

@ -117,11 +117,11 @@ public class ResourceManager {
protected final List<TransportIndexRepository> transportRepositories = new ArrayList<TransportIndexRepository>();
protected final Map<String, String> indexFileNames = new LinkedHashMap<String, String>();
protected final Map<String, String> indexFileNames = Collections.synchronizedMap(new LinkedHashMap<String, String>());
protected final Set<String> basemapFileNames = new LinkedHashSet<String>();
protected final Set<String> basemapFileNames = Collections.synchronizedSet(new LinkedHashSet<String>());
protected final Map<String, BinaryMapIndexReader> routingMapFiles = new LinkedHashMap<String, BinaryMapIndexReader>();
protected final Map<String, BinaryMapIndexReader> routingMapFiles = Collections.synchronizedMap(new LinkedHashMap<String, BinaryMapIndexReader>());
protected final MapRenderRepositories renderer;