diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-07-27 18:20:10 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-07-27 18:20:10 +0200 |
commit | 79e08b37ee316ccd238e272aabb5313cee60bc00 (patch) | |
tree | 2843c0d257ee24f8a5a0b2363f39d1f8f9494f08 /sonar-batch/src/test | |
parent | 686c30bef232feed93d16d335d2848ba62700bd9 (diff) | |
download | sonarqube-79e08b37ee316ccd238e272aabb5313cee60bc00.tar.gz sonarqube-79e08b37ee316ccd238e272aabb5313cee60bc00.zip |
SONAR-2650 reduce number of constructors
Diffstat (limited to 'sonar-batch/src/test')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/DefaultProjectFileSystem2Test.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/DefaultProjectFileSystem2Test.java b/sonar-batch/src/test/java/org/sonar/batch/DefaultProjectFileSystem2Test.java index fce0afd7282..7fd4cb02745 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/DefaultProjectFileSystem2Test.java +++ b/sonar-batch/src/test/java/org/sonar/batch/DefaultProjectFileSystem2Test.java @@ -22,7 +22,6 @@ package org.sonar.batch; import org.apache.commons.io.FileUtils; import org.hamcrest.core.Is; import org.junit.Test; -import org.sonar.api.batch.FileFilter; import org.sonar.api.batch.bootstrap.ProjectDefinition; import org.sonar.api.resources.Languages; import org.sonar.api.resources.Project; @@ -40,7 +39,7 @@ public class DefaultProjectFileSystem2Test { ProjectDefinition definition = ProjectDefinition.create().addSourceDirs(exists, notExists); - DefaultProjectFileSystem2 fs = new DefaultProjectFileSystem2(new Project("foo"), new Languages(), definition, new FileFilter[0]); + DefaultProjectFileSystem2 fs = new DefaultProjectFileSystem2(new Project("foo"), new Languages(), definition); assertThat(fs.getSourceDirs().size(), Is.is(1)); assertThat(fs.getSourceDirs(), hasItem(exists)); |