aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-10-05 18:02:31 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-10-05 18:44:44 +0200
commit59e1f8eca37d7a37e0837e437ab3e6eb38a7dfea (patch)
tree67d86a8824cd5904a5cf8179b52bf5803930590c /plugins
parent9bd6da57d295bec4f8d22d32c28cefd0032bceaa (diff)
downloadsonarqube-59e1f8eca37d7a37e0837e437ab3e6eb38a7dfea.tar.gz
sonarqube-59e1f8eca37d7a37e0837e437ab3e6eb38a7dfea.zip
SONAR-6847 Fix NPE when creating issues on root directory
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java
index 03a952fa285..123eb2130de 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java
@@ -32,6 +32,7 @@ import org.sonar.api.scan.filesystem.ModuleFileSystem;
import org.sonar.api.scan.filesystem.PathResolver;
import org.sonar.xoo.Xoo;
+@SuppressWarnings("deprecation")
public class DeprecatedResourceApiSensor implements Sensor {
public static final String RULE_KEY = "DeprecatedResourceApi";