diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-04 21:15:35 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-05 09:34:47 +0100 |
commit | e7885c175b5e078bd93a58650d99a32224b3679b (patch) | |
tree | cd238ec9eb4c74bcc915b200815c11fff69f6bf0 /plugins/sonar-xoo-plugin | |
parent | e2379a7ffa7e879ededf5f160f55eba26a785a6c (diff) | |
download | sonarqube-e7885c175b5e078bd93a58650d99a32224b3679b.tar.gz sonarqube-e7885c175b5e078bd93a58650d99a32224b3679b.zip |
SONAR-6658 Remove ProjectClasspath, ProjectFileSystem, sonar.binaries, sonar.libraries
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java | 2 |
1 files changed, 1 insertions, 1 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 123eb2130de..67055d13026 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 @@ -54,7 +54,7 @@ public class DeprecatedResourceApiSensor implements Sensor { @Override public void analyse(Project module, org.sonar.api.batch.SensorContext context) { createIssueOnDir(new Directory("")); - File src = module.getFileSystem().getSourceDirs().get(0); + File src = fileSystem.sourceDirs().get(0); for (File f : fileSystem.files(FileQuery.onMain().onLanguage(Xoo.KEY))) { String relativePathFromSourceDir = new PathResolver().relativePath(src, f); |