From e7885c175b5e078bd93a58650d99a32224b3679b Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Wed, 4 Nov 2015 21:15:35 +0100 Subject: SONAR-6658 Remove ProjectClasspath, ProjectFileSystem, sonar.binaries, sonar.libraries --- .../src/main/java/org/sonar/xoo/rule/DeprecatedResourceApiSensor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3