From 567da9cb034f1dc1734e20549dae2680fa8e0cd3 Mon Sep 17 00:00:00 2001 From: gaben <23311361+gabortim@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:22:05 +0200 Subject: [PATCH] Fix Javadoc --- .../josm/data/validation/tests/CycleDetector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java b/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java index 88c925896c4..1f0f2f89ecc 100644 --- a/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java +++ b/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java @@ -166,10 +166,10 @@ private static Collection createSegments(Map> graph } /** - * Returns the way index of a node. Only the first occurrence is considered in case it's a closed or self-intersecting way. + * Determines if the given nodes are consecutive part of the parent way. * * @param w parent way - * @param n the first node to look up + * @param n the first node to look up in the way direction * @param m the second, possibly consecutive node * @return {@code true} if the nodes are consecutive order in the way direction */