aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-09 14:08:43 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-12 09:24:23 +0100
commit35749faa8b9f588b3269f3bcf09a776c0889e883 (patch)
tree48ab0b5b81a2d08870359887cbf941d71c46e3b3 /plugins/sonar-xoo-plugin/src
parentf81bf3c5f5caf93173c53499c13a7e54b60b28f9 (diff)
downloadsonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.tar.gz
sonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.zip
Fix some Java compiler warnings
Diffstat (limited to 'plugins/sonar-xoo-plugin/src')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/ChecksSensor.java2
1 files changed, 1 insertions, 1 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 fa9c325f428..d93efbee155 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
@@ -50,7 +50,7 @@ public class ChecksSensor implements Sensor {
@Override
public void execute(SensorContext context) {
Checks<Check> checks = checkFactory.create(XooRulesDefinition.XOO_REPOSITORY);
- checks.addAnnotatedChecks(Check.ALL);
+ checks.addAnnotatedChecks((Object[]) Check.ALL);
FilePredicates p = context.fileSystem().predicates();
for (InputFile file : context.fileSystem().inputFiles(p.and(p.hasLanguages(Xoo.KEY), p.hasType(Type.MAIN)))) {
for (Check check : checks.all()) {