diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-08-09 15:18:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-08-16 09:45:58 +0200 |
commit | f6053309209e5c6bf19130853caad54a586b4bef (patch) | |
tree | 0e79ed03a01809381cea9ca4063b48a101e58c44 /plugins/sonar-xoo-plugin | |
parent | 405680c4853438d44cf2550f453c05e3c269f37c (diff) | |
download | sonarqube-f6053309209e5c6bf19130853caad54a586b4bef.tar.gz sonarqube-f6053309209e5c6bf19130853caad54a586b4bef.zip |
SONAR-9904 guess author of issue based on all its locations
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java index bf1d64b44a3..41c4fd973ef 100644 --- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java +++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java @@ -76,11 +76,11 @@ public class MultilineIssuesSensor implements Sensor { Map<Integer, Table<Integer, Integer, TextPointer>> endFlowsPositions = Maps.newHashMap(); parseIssues(file, context, startIssuesPositions, endIssuesPositions); - parseFlows(file, context, startFlowsPositions, endFlowsPositions); + parseFlows(file, startFlowsPositions, endFlowsPositions); createIssues(file, context, startIssuesPositions, endIssuesPositions, startFlowsPositions, endFlowsPositions); } - private static void parseFlows(InputFile file, SensorContext context, Map<Integer, Table<Integer, Integer, TextPointer>> startFlowsPositions, + private static void parseFlows(InputFile file, Map<Integer, Table<Integer, Integer, TextPointer>> startFlowsPositions, Map<Integer, Table<Integer, Integer, TextPointer>> endFlowsPositions) { int currentLine = 0; try { |