aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java/org/sonar/scanner/index
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-07-13 17:12:46 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-07-13 17:18:06 +0200
commit31f83fbcab419d16c5911583784d6cf780f8c6cf (patch)
tree64cb6f75b78a36af59a6ea2b6628de9e9cd6c490 /sonar-scanner-engine/src/main/java/org/sonar/scanner/index
parente65aa1588a6a59bb760dc7f4f31b19ce46eebcfd (diff)
downloadsonarqube-31f83fbcab419d16c5911583784d6cf780f8c6cf.tar.gz
sonarqube-31f83fbcab419d16c5911583784d6cf780f8c6cf.zip
Fix some quality flaws
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/index')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
index ffad84c3e68..4cb9f5b48d8 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/index/DefaultIndex.java
@@ -278,14 +278,6 @@ public class DefaultIndex {
return bucket;
}
- public boolean isExcluded(@Nullable Resource reference) {
- return false;
- }
-
- public boolean isIndexed(@Nullable Resource reference, boolean acceptExcluded) {
- return getBucket(reference) != null;
- }
-
private Bucket getBucket(@Nullable Resource reference) {
if (reference == null) {
return null;