diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-04-14 10:27:53 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-04-14 10:27:53 +0200 |
commit | 5ab0a98eea1a89455986ed26f58dfc573b25adca (patch) | |
tree | 0b966ff6a921bd1bd2d6480fb8e46a48f6d80dd4 /sonar-batch/src | |
parent | 377f8fb3103b68cdfb45ac54484ac88b377cecd8 (diff) | |
download | sonarqube-5ab0a98eea1a89455986ed26f58dfc573b25adca.tar.gz sonarqube-5ab0a98eea1a89455986ed26f58dfc573b25adca.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-batch/src')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java b/sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java index 8ef04f07abc..9624513e288 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/DefaultIndex.java @@ -561,16 +561,6 @@ public class DefaultIndex extends SonarIndex { return bucket; } - private Bucket checkIndexed(@Nullable Resource resource) { - Bucket bucket = getBucket(resource); - if (bucket == null) { - if (Scopes.isDirectory(resource) || Scopes.isFile(resource)) { - bucket = doIndex(resource); - } - } - return bucket; - } - @Override public boolean isExcluded(@Nullable Resource reference) { return false; @@ -586,9 +576,6 @@ public class DefaultIndex extends SonarIndex { * 1) key = new key and deprecatedKey = old key : this is the standard use case in a perfect world * 2) key = null and deprecatedKey = oldKey : this is for plugins that are using deprecated constructors of * {@link File} and {@link Directory} - * - * @param reference - * @return */ private Bucket getBucket(@Nullable Resource reference) { if (reference == null) { |