aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test/java
diff options
context:
space:
mode:
authorJulien HENRY <henryju@yahoo.fr>2016-07-05 16:40:56 +0200
committerJulien HENRY <henryju@yahoo.fr>2016-07-06 09:32:40 +0200
commit6da2fd6aea26d9d29c3d3f39419e000009be9c14 (patch)
tree030f2b6ca4d9e8b40b9bdcdf0215de157489e32a /sonar-scanner-engine/src/test/java
parent68620e2016ee7663bdab75478ec90220b38ef722 (diff)
downloadsonarqube-6da2fd6aea26d9d29c3d3f39419e000009be9c14.tar.gz
sonarqube-6da2fd6aea26d9d29c3d3f39419e000009be9c14.zip
Fix some quality flaws
Diffstat (limited to 'sonar-scanner-engine/src/test/java')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/batch/index/DefaultIndexTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/batch/index/DefaultIndexTest.java b/sonar-scanner-engine/src/test/java/org/sonar/batch/index/DefaultIndexTest.java
index 71d560b3d70..3c50e057ebe 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/batch/index/DefaultIndexTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/batch/index/DefaultIndexTest.java
@@ -34,7 +34,6 @@ import org.sonar.api.resources.Project;
import org.sonar.api.resources.Resource;
import org.sonar.api.rules.Rule;
import org.sonar.api.rules.RuleFinder;
-import org.sonar.api.scan.filesystem.PathResolver;
import org.sonar.batch.DefaultProjectTree;
import org.sonar.batch.FakeJava;
import org.sonar.batch.scan.measure.MeasureCache;
@@ -65,7 +64,7 @@ public class DefaultIndexTest {
DefaultProjectTree projectTree = mock(DefaultProjectTree.class);
BatchComponentCache resourceCache = new BatchComponentCache();
- index = new DefaultIndex(resourceCache, projectTree, mock(MeasureCache.class), new PathResolver());
+ index = new DefaultIndex(resourceCache, projectTree, mock(MeasureCache.class));
baseDir = temp.newFolder();
project = new Project("project");