Changeset 11087 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests
- Timestamp:
- 2016-10-07T10:20:53+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java
r11083 r11087 311 311 if (ai.key.startsWith("throw")) { 312 312 try { 313 final Severity severity = Severity.valueOf(ai.key.substring("throw".length()).toUpperCase(Locale.ENGLISH)); 314 check.errors.put(ai, severity); 313 check.errors.put(ai, Severity.valueOf(ai.key.substring("throw".length()).toUpperCase(Locale.ENGLISH))); 315 314 } catch (IllegalArgumentException e) { 316 315 Main.warn(e, "Unsupported "+ai.key+" instruction. Allowed instructions are "+POSSIBLE_THROWS+'.'); … … 753 752 addMapCSS(i); 754 753 if (Main.pref.getBoolean("validator.auto_reload_local_rules", true) && source.isLocal()) { 755 try { 756 Main.fileWatcher.registerValidatorRule(source); 757 } catch (IOException e) { 758 Main.error(e); 759 } 754 Main.fileWatcher.registerValidatorRule(source); 760 755 } 761 756 } catch (IOException ex) {
Note:
See TracChangeset
for help on using the changeset viewer.