Skip to content

Commit

Permalink
Rename stationAndStreetVertexLinker
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Gran <t2gran@gmail.com>
  • Loading branch information
habrahamsson-skanetrafiken and t2gran authored Oct 8, 2024
1 parent 684a90e commit a8674a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private void linkTransitEntrances(Graph graph) {
}

private void linkStationCentroids(Graph graph) {
BiFunction<Vertex, StreetVertex, List<Edge>> linkStationAndStreetVertex = (
BiFunction<Vertex, StreetVertex, List<Edge>> stationAndStreetVertexLinker = (
theStation,
streetVertex
) ->
Expand All @@ -285,7 +285,7 @@ private void linkStationCentroids(Graph graph) {
station,
new TraverseModeSet(TraverseMode.WALK),
LinkingDirection.BOTH_WAYS,
linkStationAndStreetVertex
stationAndStreetVertexLinker
);
}
}
Expand Down

0 comments on commit a8674a9

Please sign in to comment.