Changeset 6649 in josm for trunk/src


Ignore:
Timestamp:
2014-01-06T18:57:29+01:00 (11 years ago)
Author:
simon04
Message:

see #9414 - MapCSS validator: make individual tests ignorable

As "ignore"-key, the MapCSS selector is used, e.g., *[name'REGEX'(?i).*Strasse.*].
The file validator/ignorederrors then contains entries like 3000_*[name'REGEX'(?i).*Strasse.*].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r6636 r6649  
    337337                final String description = getDescriptionForMatchingSelector(matchingSelector);
    338338                if (fix != null) {
    339                     return new FixableTestError(null, getSeverity(), description, 3000, p, fix);
     339                    return new FixableTestError(null, getSeverity(), description, description, matchingSelector.toString(), 3000, p, fix);
    340340                } else {
    341                     return new TestError(null, getSeverity(), description, 3000, p);
     341                    return new TestError(null, getSeverity(), description, description, matchingSelector.toString(), 3000, p);
    342342                }
    343343            } else {
Note: See TracChangeset for help on using the changeset viewer.