Changeset 6635 in josm for trunk/src


Ignore:
Timestamp:
2014-01-05T17:09:25+01:00 (11 years ago)
Author:
simon04
Message:

fix #4280 - Validator, crossing ways: undo valdation relaxation (one way is bridge/tunnel and the other one is not) - reverts r6579

File:
1 edited

Legend:

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

    r6623 r6635  
    193193        if ("0".equals(layer1)) {
    194194            layer1 = null; // 0 is default value for layer.
    195         } else if (layer1 == null && w.isKeyTrue("bridge")) {
    196             /* see #4280.
    197                In order to avoid a test error for simple settings (such as one way is a bridge, the other one isn't),
    198                set layer to a marker value <bridge>. Then, two crossing bridges w/o a layer set are still detected.
    199             */
    200             layer1 = "<bridge>";
    201         } else if (layer1 == null && w.isKeyTrue("tunnel")) {
    202             /* likewise for tunnels */
    203             layer1 = "<tunnel>";
    204195        }
    205196        return layer1;
Note: See TracChangeset for help on using the changeset viewer.