Changeset 16552 in josm
- Timestamp:
- 2020-06-07T14:45:04+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Territories.java
r16381 r16552 128 128 * Initializes territories using the internal data only. 129 129 */ 130 public static void initializeInternalData() {130 public static synchronized void initializeInternalData() { 131 131 iso3166Cache = new HashMap<>(); 132 132 taginfoCache = new TreeMap<>(); … … 167 167 throw new JosmRuntimeException(ex); 168 168 } finally { 169 MultipolygonCache.getInstance().clear(dataSet); 169 if (dataSet != null) 170 MultipolygonCache.getInstance().clear(dataSet); 170 171 if (!Logging.isDebugEnabled()) { 171 172 // unset dataSet to save memory, see #18907
Note:
See TracChangeset
for help on using the changeset viewer.