Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Mar 25, 2024
1 parent 9785653 commit 4b04c60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/matsim/run/RunMexicoCityScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ protected Config prepareConfig(Config config) {
// remove bike as network mode + add bike as teleported mode
if (config.routing().getNetworkModes().contains(TransportMode.bike)) {

Set<String> networkModes = new HashSet<>(config.routing().getNetworkModes()
.stream()
.filter(m -> !m.equals(TransportMode.bike))
.toList());
Set<String> networkModes = new HashSet<>(config.routing().getNetworkModes()
.stream()
.filter(m -> !m.equals(TransportMode.bike))
.toList());

config.routing().setNetworkModes(networkModes);
}
Expand Down

0 comments on commit 4b04c60

Please sign in to comment.