aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-02-09 18:23:17 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-02-09 18:35:36 +0100
commit41b5bad5d03711faacb58e704f180f9dacf653d7 (patch)
tree7e1d41e7f2f7c0215699a8f79d13f7bafed91af2 /plugins
parentbd814b0f9f41fbb27b24e280c95cec341f83a38a (diff)
downloadsonarqube-41b5bad5d03711faacb58e704f180f9dacf653d7.tar.gz
sonarqube-41b5bad5d03711faacb58e704f180f9dacf653d7.zip
SONAR-6162 Fix bad merge
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java
index 249967d425e..dd4792c9723 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java
@@ -42,9 +42,9 @@ public class ChecksSensor implements Sensor {
public void describe(SensorDescriptor descriptor) {
descriptor
.name("ChecksSensor")
- .workOnLanguages(Xoo.KEY)
+ .onlyOnLanguage(Xoo.KEY)
.createIssuesForRuleRepositories(XooRulesDefinition.XOO_REPOSITORY)
- .workOnFileTypes(InputFile.Type.MAIN);
+ .onlyOnFileType(InputFile.Type.MAIN);
}
@Override