From 7ad931d5ddbaa3fd8499812b473d4bb947df3ef2 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 5 Jan 2017 17:08:30 +0100 Subject: [PATCH] SONAR-8592 Reverse order of locations in flows of issues --- .../main/java/org/sonar/api/batch/sensor/issue/NewIssue.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/issue/NewIssue.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/issue/NewIssue.java index f428d8c6aa1..70ddaad1bc6 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/issue/NewIssue.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/issue/NewIssue.java @@ -69,7 +69,8 @@ public interface NewIssue { /** * Register a flow for this issue. A flow is an ordered list of issue locations that help to understand the issue. - * It could be a path leading to the primary location. Several flows can be registered. + * It should be a path that backtracks the issue from its primary location to the start of the flow. + * Several flows can be registered. * @since 5.2 */ NewIssue addFlow(Iterable flowLocations); -- 2.39.5