Changeset 9937 in josm for trunk/src/org
- Timestamp:
- 2016-03-05T23:51:02+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/PublicTransportRouteTest.java
r9933 r9937 5 5 6 6 import java.util.ArrayList; 7 import java.util.EnumSet;8 7 import java.util.List; 9 8 … … 58 57 final boolean hasError = !(i == 0 || link.linkPrev) 59 58 || !(i == links.size() - 1 || link.linkNext) 60 || !EnumSet.of(WayConnectionType.Direction.FORWARD, WayConnectionType.Direction.BACKWARD).contains(link.direction); 59 || link.direction == null 60 || WayConnectionType.Direction.NONE.equals(link.direction); 61 61 if (hasError) { 62 62 errors.add(new TestError(this, Severity.WARNING, tr("Route relation contains a gap"), 3602, r));
Note:
See TracChangeset
for help on using the changeset viewer.