Changeset 7268 in josm for trunk/src/org


Ignore:
Timestamp:
2014-06-24T22:37:59+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10180 - tagchecker: "Property values start or end with white space" set to warning level

File:
1 edited

Legend:

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

    r7248 r7268  
    370370            }
    371371            if (checkValues && value != null && (value.startsWith(" ") || value.endsWith(" ")) && !withErrors.contains(p, "SPACE")) {
    372                 errors.add( new TestError(this, Severity.OTHER, tr("Property values start or end with white space"),
     372                errors.add( new TestError(this, Severity.WARNING, tr("Property values start or end with white space"),
    373373                        tr(s, key), MessageFormat.format(s, key), INVALID_SPACE, p) );
    374374                withErrors.put(p, "SPACE");
Note: See TracChangeset for help on using the changeset viewer.