diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-02 10:07:46 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-02 10:08:04 +0200 |
commit | 6e1995b2ae4a6890cfdf7d71626469380e050273 (patch) | |
tree | ddaa98f0a5f88e1ca416ee6dc8a3d73c54750f23 /sonar-batch | |
parent | 54a3802ec94abd488a7db67efb68d0e1651b0d97 (diff) | |
download | sonarqube-6e1995b2ae4a6890cfdf7d71626469380e050273.tar.gz sonarqube-6e1995b2ae4a6890cfdf7d71626469380e050273.zip |
Fix compatibility with FileFilter extensions
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/ProjectInitializer.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ProjectInitializer.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ProjectInitializer.java index f6ee4c48af9..f20751864cb 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ProjectInitializer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ProjectInitializer.java @@ -34,19 +34,16 @@ public class ProjectInitializer implements BatchComponent { private ResourceDao resourceDao; private DryRun dryRun; - private ProjectFileSystem fileSystem; private Languages languages; - public ProjectInitializer(ResourceDao resourceDao, DryRun dryRun, ProjectFileSystem fileSystem, Languages languages) { + public ProjectInitializer(ResourceDao resourceDao, DryRun dryRun, Languages languages) { this.resourceDao = resourceDao; this.dryRun = dryRun; - this.fileSystem = fileSystem; this.languages = languages; } public void execute(Project project, ProjectSettings settings) { initLanguage(project, settings); - initFileSystem(project); } private void initLanguage(Project project, ProjectSettings settings) { @@ -63,11 +60,4 @@ public class ProjectInitializer implements BatchComponent { } } - - private void initFileSystem(Project project) { - // TODO See http://jira.codehaus.org/browse/SONAR-2126 - // previously MavenProjectBuilder was responsible for creation of ProjectFileSystem - project.setFileSystem(fileSystem); - - } } |