Changeset 9834 in josm


Ignore:
Timestamp:
2016-02-19T18:00:27+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12541 - downgrade "style for outer way mismatches polygon" warning to info level to avoid false positives and clarify the message

File:
1 edited

Legend:

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

    r9584 r9834  
    5656    /** Intersection between multipolygon ways */
    5757    public static final int CROSSING_WAYS = 1606;
    58     /** Style for outer way mismatches / With the currently used mappaint style(s) the style for outer way mismatches polygon */
     58    /** Style for outer way mismatches / With the currently used mappaint style(s) the style for outer way mismatches the area style */
    5959    public static final int OUTER_STYLE_MISMATCH = 1607;
    6060    /** With the currently used mappaint style the style for inner way equals the multipolygon style */
     
    273273                        l.add(wOuter);
    274274                        if (!area.equals(areaOuter)) {
    275                             addError(r, new TestError(this, Severity.WARNING, !areaStyle ? tr("Style for outer way mismatches")
    276                             : tr("With the currently used mappaint style(s) the style for outer way mismatches polygon"),
     275                            addError(r, new TestError(this, Severity.OTHER, !areaStyle ? tr("Style for outer way mismatches")
     276                            : tr("With the currently used mappaint style(s) the style for outer way mismatches the area style"),
    277277                            OUTER_STYLE_MISMATCH, l, Collections.singletonList(wOuter)));
    278278                        } else if (areaStyle) { /* style on outer way of multipolygon, but equal to polygon */
Note: See TracChangeset for help on using the changeset viewer.