Changeset 16963 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-08-29T14:38:13+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/StyleElement.java
r16959 r16963 3 3 4 4 import java.awt.Font; 5 import java.util.HashMap;6 5 import java.util.Map; 7 6 import java.util.Objects; 7 import java.util.concurrent.ConcurrentHashMap; 8 8 9 9 import org.openstreetmap.josm.data.osm.IPrimitive; … … 197 197 } 198 198 199 private static final Map<FontDescriptor, Font> FONT_MAP = new HashMap<>();199 private static final Map<FontDescriptor, Font> FONT_MAP = new ConcurrentHashMap<>(); 200 200 201 201 private static Font getCachedFont(String name, int style, int size) {
Note:
See TracChangeset
for help on using the changeset viewer.