Skip to content

Commit a9e11f6

Browse files
committed
comment: add clarifying comment
1 parent a187e0f commit a9e11f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-bundle/src/main/java/com/graphhopper/resources/BufferResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private BufferFeature computeStartFeature(List<Integer> edgeList, Double startLa
316316
/**
317317
* Determines the road name to use based on the provided parameters:
318318
* - If `roadName` is null:
319-
* - Throws an exception if `requireRoadNameMatch` is true.
319+
* - Throws an exception if `requireRoadNameMatch` is true. (handled in doGet)
320320
* - Otherwise, finds the closest edge to the point and uses its road name.
321321
* - If `roadName` is not null:
322322
* - Uses the sanitized road name if `requireRoadNameMatch` is true.

0 commit comments

Comments
 (0)