From f6053309209e5c6bf19130853caad54a586b4bef Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 9 Aug 2018 15:18:34 +0200 Subject: SONAR-9904 guess author of issue based on all its locations --- .../src/main/java/org/sonar/xoo/rule/MultilineIssuesSensor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/sonar-xoo-plugin') 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> 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> startFlowsPositions, + private static void parseFlows(InputFile file, Map> startFlowsPositions, Map> endFlowsPositions) { int currentLine = 0; try { -- cgit v1.2.3