diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-10-05 18:02:31 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-10-05 18:44:44 +0200 |
commit | 59e1f8eca37d7a37e0837e437ab3e6eb38a7dfea (patch) | |
tree | 67d86a8824cd5904a5cf8179b52bf5803930590c /plugins | |
parent | 9bd6da57d295bec4f8d22d32c28cefd0032bceaa (diff) | |
download | sonarqube-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.java | 1 |
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"; |