From 6e1995b2ae4a6890cfdf7d71626469380e050273 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 2 Oct 2012 10:07:46 +0200 Subject: Fix compatibility with FileFilter extensions --- .../java/org/sonar/batch/bootstrap/ProjectInitializer.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sonar-batch') 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); - - } } -- cgit v1.2.3