Changeset 11608 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
- Timestamp:
- 2017-02-25T03:14:20+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
r11129 r11608 48 48 @Override 49 49 public void visit(Relation r) { 50 if (! "restriction".equals(r.get("type")))50 if (!r.hasTag("type", "restriction")) 51 51 return; 52 52 … … 224 224 225 225 private static boolean isFullOneway(Way w) { 226 return w.isOneway() != 0 && ! "no".equals(w.get("oneway:bicycle"));226 return w.isOneway() != 0 && !w.hasTag("oneway:bicycle", "no"); 227 227 } 228 228
Note:
See TracChangeset
for help on using the changeset viewer.