diff --git a/src/main/java/org/opentripplanner/routing/linking/VertexLinker.java b/src/main/java/org/opentripplanner/routing/linking/VertexLinker.java index 930ea1c3af3..cbf759bc3a6 100644 --- a/src/main/java/org/opentripplanner/routing/linking/VertexLinker.java +++ b/src/main/java/org/opentripplanner/routing/linking/VertexLinker.java @@ -569,7 +569,7 @@ public void addAreaVertex( int added = 0; for (IntersectionVertex v : visibilityVertices) { - if (!v.checkEdges()) { + if (!v.hasEdges()) { continue; } LineString newGeometry = GEOMETRY_FACTORY.createLineString( @@ -591,7 +591,7 @@ public void addAreaVertex( // area calculation to be done after stop linking if (added == 0) { for (IntersectionVertex v : visibilityVertices) { - if (!v.checkEdges()) { + if (!v.hasEdges()) { continue; } createSegments(newVertex, v, edgeList, areas, scope, tempEdges); diff --git a/src/main/java/org/opentripplanner/street/model/vertex/Vertex.java b/src/main/java/org/opentripplanner/street/model/vertex/Vertex.java index eaedbba51c5..890589337bd 100644 --- a/src/main/java/org/opentripplanner/street/model/vertex/Vertex.java +++ b/src/main/java/org/opentripplanner/street/model/vertex/Vertex.java @@ -130,7 +130,7 @@ public int getDegreeIn() { return incoming.length; } - public boolean checkEdges() { + public boolean hasEdges() { if (outgoing == null || incoming == null) { return false; }