Skip to content

Commit 1ce56e2

Browse files
authored
Fix toll rule for Switzerland (graphhopper#3025)
1 parent b3c4607 commit 1ce56e2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/src/main/java/com/graphhopper/routing/util/countryrules/europe/SwitzerlandCountryRule.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ public Toll getToll(ReaderWay readerWay, Toll currentToll) {
3636
}
3737

3838
RoadClass roadClass = RoadClass.find(readerWay.getTag("highway", ""));
39-
if (currentToll != null)
40-
return currentToll;
41-
4239
switch (roadClass) {
4340
case MOTORWAY:
4441
case TRUNK:

0 commit comments

Comments
 (0)