- Timestamp:
- 2016-01-01T14:15:01+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TurnrestrictionTest.java
r8452 r9236 39 39 protected static final int UNCONNECTED_VIA = 1814; 40 40 protected static final int SUPERFLUOUS = 1815; 41 protected static final int FROM_EQUALS_TO = 1816; 41 42 42 43 /** … … 142 143 errors.add(new TestError(this, Severity.ERROR, tr("No \"to\" way found"), NO_TO, r)); 143 144 return; 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)); 144 148 } 145 149 if (via.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.