- Timestamp:
- 2016-01-11T01:02:56+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r9334 r9400 83 83 84 84 /** 85 * IconReference is used to remember the associated style source for 86 * each icon URL. 85 * IconReference is used to remember the associated style source for each icon URL. 87 86 * This is necessary because image URLs can be paths relative 88 * to the source file and we have cascading of properties from different 89 * source files. 87 * to the source file and we have cascading of properties from different source files. 90 88 */ 91 89 public static class IconReference { … … 106 104 107 105 /** 108 * Image provider for icon. Note that this is a provider only. A @link{ImageProvider#get()} call may still 109 * fail! 106 * Image provider for icon. Note that this is a provider only. A @link{ImageProvider#get()} call may still fail! 110 107 * 111 108 * @param ref reference to the requested icon … … 124 121 .setOptional(true); 125 122 if (test && i.get() == null) { 126 Main.warn("Mappaint style \""+namespace+"\" ("+ref.source.getDisplayString()+") icon \"" + ref.iconName + "\" not found."); 123 String msg = "Mappaint style \""+namespace+"\" ("+ref.source.getDisplayString()+") icon \"" + ref.iconName + "\" not found."; 124 ref.source.logWarning(msg); 125 Main.warn(msg); 127 126 return null; 128 127 }
Note:
See TracChangeset
for help on using the changeset viewer.