From 676fc571499ea4e4c3e5beb01baea1f76608f8ff Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 14 Mar 2014 14:38:25 +0100 Subject: Fix quality flaws --- .../src/main/java/org/sonar/batch/index/ResourceKeyMigration.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sonar-batch/src') 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 deprecatedFileKeyMapper, Map deprecatedTestKeyMapper, - Map deprecatedDirectoryKeyMapper, - int moduleId) { + Map deprecatedDirectoryKeyMapper, + int moduleId) { // Find all FIL or CLA resources for this module StringBuilder hql = new StringBuilder().append("from ") .append(ResourceModel.class.getSimpleName()) -- cgit v1.2.3