Changeset 6248 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
- Timestamp:
- 2013-09-23T16:47:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r6101 r6248 150 150 }); 151 151 } else { 152 System.out.println("Could not get presets icon " + iconName);152 Main.warn("Could not get presets icon " + iconName); 153 153 } 154 154 } … … 167 167 this.nameTemplate = new TemplateParser(pattern).parse(); 168 168 } catch (ParseError e) { 169 System.err.println("Error while parsing " + pattern + ": " + e.getMessage());169 Main.error("Error while parsing " + pattern + ": " + e.getMessage()); 170 170 throw new SAXException(e); 171 171 } … … 176 176 this.nameTemplateFilter = SearchCompiler.compile(filter, false, false); 177 177 } catch (org.openstreetmap.josm.actions.search.SearchCompiler.ParseError e) { 178 System.err.println("Error while parsing" + filter + ": " + e.getMessage());178 Main.error("Error while parsing" + filter + ": " + e.getMessage()); 179 179 throw new SAXException(e); 180 180 }
Note:
See TracChangeset
for help on using the changeset viewer.