aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/index/BatchResource.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/BatchResource.java b/sonar-batch/src/main/java/org/sonar/batch/index/BatchResource.java
index ff8af997c2f..9abeedcab43 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/index/BatchResource.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/index/BatchResource.java
@@ -21,8 +21,8 @@ package org.sonar.batch.index;
import org.sonar.api.batch.fs.InputPath;
import org.sonar.api.database.model.Snapshot;
+import org.sonar.api.resources.Qualifiers;
import org.sonar.api.resources.Resource;
-import org.sonar.api.resources.ResourceUtils;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
@@ -87,11 +87,11 @@ public class BatchResource {
}
public boolean isFile() {
- return ResourceUtils.isFile(r);
+ return Qualifiers.isFile(r);
}
public boolean isDir() {
- return ResourceUtils.isDirectory(r);
+ return Qualifiers.isDirectory(r);
}
public BatchResource setInputPath(InputPath inputPath) {