aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2021-12-03 10:56:25 +0100
committersonartech <sonartech@sonarsource.com>2021-12-03 20:03:32 +0000
commit1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69 (patch)
tree345e052939548cd2fa8592755080e7acfe070eaf /plugins
parent0c2ad3d5d708b3d34049767d5b37e7f5d7939325 (diff)
downloadsonarqube-1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69.tar.gz
sonarqube-1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69.zip
SONAR-15761 new API to identify Sensors processing files independently (#5091)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/OneIssuePerLineSensor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/OneIssuePerLineSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/OneIssuePerLineSensor.java
index a2d03803220..0c1aa2d81e0 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/OneIssuePerLineSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/OneIssuePerLineSensor.java
@@ -44,7 +44,8 @@ public class OneIssuePerLineSensor implements Sensor {
descriptor
.name("One Issue Per Line")
.onlyOnLanguages(Xoo.KEY, Xoo2.KEY)
- .createIssuesForRuleRepositories(XooRulesDefinition.XOO_REPOSITORY, XooRulesDefinition.XOO2_REPOSITORY);
+ .createIssuesForRuleRepositories(XooRulesDefinition.XOO_REPOSITORY, XooRulesDefinition.XOO2_REPOSITORY)
+ .processesFilesIndependently();
}
@Override