Changeset 17413 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-12-17T09:43:16+01:00 (4 years ago)
Author:
GerdP
Message:

see #20019: Warn about direction=forward/backward on invalid nodes.

  • revert changes in DirectionNodes.java from 17412
  • improve test coverage (nodes with positive ids)
File:
1 edited

Legend:

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

    r17412 r17413  
    9292                        marktr("Node with {0} on end of way"), tag);
    9393            }
    94         } else { // ways.size() > 1
     94        } else if (ways.size() > 1) {
    9595            builder = TestError.builder(this, Severity.OTHER, MULTIPLE_WAYS_CODE).message(DISPUTED_USE_MSG,
    9696                    marktr("Node with {0} on a connection of multiple ways"), tag);
Note: See TracChangeset for help on using the changeset viewer.