Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java
r12279 r12620 60 60 import org.openstreetmap.josm.tools.GBC; 61 61 import org.openstreetmap.josm.tools.ImageProvider; 62 import org.openstreetmap.josm.tools.Logging; 62 63 import org.openstreetmap.josm.tools.Utils; 63 64 import org.openstreetmap.josm.tools.template_engine.ParseError; … … 217 218 GuiHelper.runInEDT(() -> result.attachImageIcon(this)); 218 219 } else { 219 Main.warn(toString() + ": " + PRESET_ICON_ERROR_MSG_PREFIX + iconName);220 Logging.warn(toString() + ": " + PRESET_ICON_ERROR_MSG_PREFIX + iconName); 220 221 } 221 222 }); … … 236 237 this.nameTemplate = new TemplateParser(pattern).parse(); 237 238 } catch (ParseError e) { 238 Main.error("Error while parsing " + pattern + ": " + e.getMessage());239 Logging.error("Error while parsing " + pattern + ": " + e.getMessage()); 239 240 throw new SAXException(e); 240 241 } … … 245 246 this.nameTemplateFilter = SearchCompiler.compile(filter); 246 247 } catch (SearchCompiler.ParseError e) { 247 Main.error("Error while parsing" + filter + ": " + e.getMessage());248 Logging.error("Error while parsing" + filter + ": " + e.getMessage()); 248 249 throw new SAXException(e); 249 250 }
Note:
See TracChangeset
for help on using the changeset viewer.