We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a9196 commit f0178e0Copy full SHA for f0178e0
src/main/java/org/opentripplanner/graph_builder/module/islandpruning/PruneIslands.java
@@ -257,7 +257,7 @@ private int processIslands(
257
TransitStopVertex v = (TransitStopVertex) vIter.next();
258
Set<TransitMode> modes = v.getModes();
259
// test if stop has other transit modes than FERRY
260
- if (!modes.isEmpty() && !modes.contains(TransitMode.FERRY)) {
+ if (modes.isEmpty() || !modes.contains(TransitMode.FERRY)) {
261
onlyFerry = false;
262
break;
263
}
0 commit comments