Skip to content

Commit bf0d628

Browse files
committed
Rename a variable holding a list of lists
1 parent 8e9411a commit bf0d628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/src/main/java/org/opentripplanner/graph_builder/module/OsmBoardingLocationsModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private Envelope getEnvelope(TransitStopVertex ts) {
141141
*/
142142
private boolean connectVertexToArea(TransitStopVertex ts, StreetIndex index) {
143143
RegularStop stop = ts.getStop();
144-
var nearbyAreaEdgeList = index
144+
var nearbyAreaEdgeLists = index
145145
.getEdgesForEnvelope(getEnvelope(ts))
146146
.stream()
147147
.filter(AreaEdge.class::isInstance)
@@ -151,7 +151,7 @@ private boolean connectVertexToArea(TransitStopVertex ts, StreetIndex index) {
151151

152152
// Iterate over all nearby areas representing transit stops in OSM, linking to them if they have a stop code or id
153153
// in their ref= tag that matches the GTFS stop code of this StopVertex.
154-
for (var edgeList : nearbyAreaEdgeList) {
154+
for (var edgeList : nearbyAreaEdgeLists) {
155155
if (matchesReference(stop, edgeList.references)) {
156156
var name = edgeList
157157
.getAreas()

0 commit comments

Comments
 (0)