Changeset 5257 in josm
- Timestamp:
- 2012-05-31T15:45:02+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapImage.java
r5183 r5257 65 65 synchronized (MapImage.this) { 66 66 if (result == null) { 67 img = (BufferedImage) MapPaintStyles.getNoIcon_Icon(source).getImage(); 67 ImageIcon noIcon = MapPaintStyles.getNoIcon_Icon(source); 68 img = noIcon == null ? null : (BufferedImage) noIcon.getImage(); 68 69 } else { 69 70 img = (BufferedImage) result.getImage();
Note:
See TracChangeset
for help on using the changeset viewer.