Changeset 19229 in osm for applications/editors/josm/plugins/validator
- Timestamp:
- 2009-12-28T13:26:27+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r19226 r19229 26 26 ** update before publishing 27 27 --> 28 <property name="commit.message" value="Fixed JOSM ticket #4231 - Validator:duplicate nodes test should round to OSM precision" />28 <property name="commit.message" value="Fixed JOSM ticket #4220 - validator: check for FIXME=*" /> 29 29 <property name="plugin.main.version" value="2694" /> 30 30 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java
r19200 r19229 547 547 } 548 548 } 549 if( checkFixmes && value != null && value.length() > 0 ) 550 { 551 if( (value.contains("FIXME") || value.contains("check and delete") || key.contains("todo") || key.contains("fixme")) 552 && !withErrors.contains(p, "FIXME")) 553 { 554 errors.add( new TestError(this, Severity.OTHER, tr("FIXMES"), FIXME, p) ); 555 withErrors.add(p, "FIXME"); 556 } 557 } 549 if (checkFixmes && value != null && value.length() > 0) { 550 if ((value.toLowerCase().contains("FIXME") 551 || value.contains("check and delete") 552 || key.contains("todo") || key.toLowerCase().contains("fixme")) 553 && !withErrors.contains(p, "FIXME")) { 554 errors.add(new TestError(this, Severity.OTHER, 555 tr("FIXMES"), FIXME, p)); 556 withErrors.add(p, "FIXME"); 557 } 558 } 558 559 } 559 560 }
Note:
See TracChangeset
for help on using the changeset viewer.