Changeset 17415 in josm for trunk


Ignore:
Timestamp:
2020-12-17T14:46:46+01:00 (2 months ago)
Author:
GerdP
Message:

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

  • use tag key + "=forward|backward" in messages so that we don't get separate messages for each direction
File:
1 edited

Legend:

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

    r17413 r17415  
    4545            if (("forward".equals(tag.getValue()) || "backward".equals(tag.getValue()))
    4646                    && ("direction".equals(tag.getKey()) || tag.getKey().endsWith(":direction"))) {
    47                 checkParents(n, tag.toString());
     47                checkParents(n, tag.getKey() + "=forward|backbard");
    4848            }
    4949        }
Note: See TracChangeset for help on using the changeset viewer.