Ignore:
Timestamp:
2011-03-04T11:44:28+01:00 (9 years ago)
Author:
stoecker
Message:

fix #5889 - increase warning level for unconnected nodes

File:
1 edited

Legend:

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

    r3671 r3950  
    6060            if (!n.hasKeys()) {
    6161                String msg = marktr("No tags");
    62                 errors.add(new TestError(this, Severity.OTHER, tr("Unconnected nodes without physical tags"), tr(msg), msg, UNTAGGED_NODE_BLANK, n));
     62                errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"), tr(msg), msg, UNTAGGED_NODE_BLANK, n));
    6363                return;
    6464            }
     
    6868                    /* translation note: don't translate quoted words */
    6969                    String msg = marktr("Has tag containing ''fixme'' or ''FIXME''");
    70                     errors.add(new TestError(this, Severity.OTHER, tr("Unconnected nodes without physical tags"),
     70                    errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    7171                                tr(msg), msg, UNTAGGED_NODE_FIXME, n));
    7272                    return;
     
    9393                }
    9494                if (msg != null) {
    95                     errors.add(new TestError(this, Severity.OTHER, tr("Unconnected nodes without physical tags"),
     95                    errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    9696                                tr(msg), msg, code, n));
    9797                    return;
     
    9999            }
    100100            // Does not happen, but just to be sure. Maybe definition of uninteresting tags changes in future.
    101             errors.add(new TestError(this, Severity.OTHER, tr("Unconnected nodes without physical tags"),
     101            errors.add(new TestError(this, Severity.WARNING, tr("Unconnected nodes without physical tags"),
    102102                        tr("Other"), "Other", UNTAGGED_NODE_OTHER, n));
    103103        }
Note: See TracChangeset for help on using the changeset viewer.