Changeset 9244 in josm
- Timestamp:
- 2016-01-01T20:14:12+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
r9236 r9244 144 144 return; 145 145 } 146 if (fromWay.equals(toWay) && !r.hasTag("restriction", "no_u_turn")) { 147 errors.add(new TestError(this, Severity.WARNING, tr("\"from\" way equals \"to\" way"), FROM_EQUALS_TO, r)); 146 if (fromWay.equals(toWay)) { 147 errors.add(new TestError(this, r.hasTag("restriction", "no_u_turn") ? Severity.OTHER : Severity.WARNING, 148 tr("\"from\" way equals \"to\" way"), FROM_EQUALS_TO, r)); 148 149 } 149 150 if (via.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.