Changeset 7448 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2014-08-27T20:14:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r7447 r7448 1343 1343 @Override 1344 1344 public List<StyleRecord> call() throws Exception { 1345 synchronized (MapCSSStyleSource.STYLE_SOURCE_LOCK) { 1345 MapCSSStyleSource.STYLE_SOURCE_LOCK.readLock().lock(); 1346 try { 1346 1347 for (int i = from; i<to; i++) { 1347 1348 OsmPrimitive osm = input.get(i); … … 1351 1352 } 1352 1353 return output; 1354 } finally { 1355 MapCSSStyleSource.STYLE_SOURCE_LOCK.readLock().unlock(); 1353 1356 } 1354 1357 }
Note:
See TracChangeset
for help on using the changeset viewer.