Changeset 7571 in josm for trunk/src/org


Ignore:
Timestamp:
2014-09-20T21:21:21+02:00 (5 years ago)
Author:
bastiK
Message:

see #10529 - raise validator level from information to warning for multipolygons with area style tags at the outer way(s)

File:
1 edited

Legend:

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

    r7570 r7571  
    221221                    if (!"boundary".equals(r.get("type"))) {
    222222                        if (area == null) {
    223                             addError(r, new TestError(this, Severity.OTHER, tr("No area style for multipolygon"), NO_STYLE, r));
     223                            addError(r, new TestError(this, Severity.WARNING, tr("No area style for multipolygon"), NO_STYLE, r));
    224224                        } else {
    225225                            /* old style multipolygon - solve: copy tags from outer way to multipolygon */
    226                             addError(r, new TestError(this, Severity.OTHER,
     226                            addError(r, new TestError(this, Severity.WARNING,
    227227                                    trn("Multipolygon relation should be tagged with area tags and not the outer way",
    228228                                            "Multipolygon relation should be tagged with area tags and not the outer ways", polygon.getOuterWays().size()),
Note: See TracChangeset for help on using the changeset viewer.