Changeset 9604 in josm


Ignore:
Timestamp:
2016-01-24T02:18:39+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #12436 - untagged node validator test: do not remove empty nodes outside the downloaded area

Location:
trunk
Files:
3 added
1 edited

Legend:

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

    r8855 r9604  
    4141        if (n.isUsable() && !n.isTagged() && n.getReferrers().isEmpty()) {
    4242
    43             if (!n.hasKeys()) {
     43            if (!n.hasKeys() && !IN_DOWNLOADED_AREA.evaluate(n)) {
    4444                String msg = marktr("No tags");
    4545                errors.add(new TestError(this, Severity.WARNING, ERROR_MESSAGE, tr(msg), msg, UNTAGGED_NODE_BLANK, n));
Note: See TracChangeset for help on using the changeset viewer.