Skip to content

Commit

Permalink
update GraphHopper to 9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cpesch committed Sep 9, 2024
1 parent 2bcc7a3 commit e792ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphhopper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>graphhopper-core</artifactId>
<version>8.0</version>
<version>9.1</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ protected void second(int second) {
private com.graphhopper.GraphHopper createHopper() {
List<Profile> profiles = getAvailableTravelModes().stream()
.map(mode -> new Profile(mode.getName())
.setVehicle(mode.getName())
.setName(mode.getName())
// could set .setTurnCosts(true)
)
.toList();
Expand Down

0 comments on commit e792ec0

Please sign in to comment.