Fix concurrent exception
This commit is contained in:
parent
af1e29dc3a
commit
5ca3593d47
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue