- Timestamp:
- 2014-01-05T17:09:25+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/CrossingWays.java
r6623 r6635 193 193 if ("0".equals(layer1)) { 194 194 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>";204 195 } 205 196 return layer1;
Note:
See TracChangeset
for help on using the changeset viewer.