diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-14 14:38:25 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-14 14:38:25 +0100 |
commit | 676fc571499ea4e4c3e5beb01baea1f76608f8ff (patch) | |
tree | 546eae3611cadb08ab5b586fb0907b08479f4bc7 /sonar-batch/src | |
parent | 1567c1066dd3001a96d0ac0e459d7d6e87910d5a (diff) | |
download | sonarqube-676fc571499ea4e4c3e5beb01baea1f76608f8ff.tar.gz sonarqube-676fc571499ea4e4c3e5beb01baea1f76608f8ff.zip |
Fix quality flaws
Diffstat (limited to 'sonar-batch/src')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java b/sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java index 3647287bb3e..3c1266e58f3 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/ResourceKeyMigration.java @@ -24,7 +24,6 @@ import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sonar.api.BatchComponent; -import org.sonar.api.batch.fs.FilePredicates; import org.sonar.api.batch.fs.FileSystem; import org.sonar.api.batch.fs.InputFile; import org.sonar.api.batch.fs.internal.DefaultInputFile; @@ -91,8 +90,8 @@ public class ResourceKeyMigration implements BatchComponent { } private void migrateFiles(Project module, Map<String, InputFile> deprecatedFileKeyMapper, Map<String, InputFile> deprecatedTestKeyMapper, - Map<String, String> deprecatedDirectoryKeyMapper, - int moduleId) { + Map<String, String> deprecatedDirectoryKeyMapper, + int moduleId) { // Find all FIL or CLA resources for this module StringBuilder hql = new StringBuilder().append("from ") .append(ResourceModel.class.getSimpleName()) |