aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-02 10:07:46 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-02 10:08:04 +0200
commit6e1995b2ae4a6890cfdf7d71626469380e050273 (patch)
treeddaa98f0a5f88e1ca416ee6dc8a3d73c54750f23 /sonar-batch
parent54a3802ec94abd488a7db67efb68d0e1651b0d97 (diff)
downloadsonarqube-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.java12
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);
-
- }
}