- Timestamp:
- 2016-09-01T16:30:34+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r10748 r10926 54 54 "application/xml, text/xml, text/plain; q=0.8, application/zip, application/octet-stream; q=0.5"; 55 55 56 private static final Collection<String> DEPRECATED_IMAGE_NAMES = Arrays.asList( 57 "presets/misc/deprecated.svg", 58 "misc/deprecated.png"); 59 56 60 private static ElemStyles styles = new ElemStyles(); 57 61 … … 203 207 MapImage mapImage = ((NodeElement) style).mapImage; 204 208 if (mapImage != null) { 205 if (includeDeprecatedIcon || mapImage.name == null || ! "misc/deprecated.png".equals(mapImage.name)) {209 if (includeDeprecatedIcon || mapImage.name == null || !DEPRECATED_IMAGE_NAMES.contains(mapImage.name)) { 206 210 return new ImageIcon(mapImage.getImage(false)); 207 211 } else {
Note:
See TracChangeset
for help on using the changeset viewer.