aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-13 15:38:16 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-13 15:38:26 +0200
commit92b4d736ed08613824523d2acd033cc39b56b412 (patch)
tree4a920d3b56ed8ca1e08a7d89fe2e14656594b94b /sonar-batch
parent1f3fb02b11112f0e90e1733e2a04561bc35b795a (diff)
downloadsonarqube-92b4d736ed08613824523d2acd033cc39b56b412.tar.gz
sonarqube-92b4d736ed08613824523d2acd033cc39b56b412.zip
Fix some quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchSettings.java3
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/index/Bucket.java1
2 files changed, 1 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchSettings.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchSettings.java
index a50b3d40eb0..d3852be72f7 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchSettings.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchSettings.java
@@ -31,7 +31,6 @@ import org.sonar.api.config.PropertyDefinitions;
import org.sonar.api.config.Settings;
import javax.annotation.Nullable;
-
import java.util.List;
import java.util.Map;
@@ -47,7 +46,7 @@ public class BatchSettings extends Settings {
private Map<String, String> savedProperties;
public BatchSettings(BootstrapSettings bootstrapSettings, PropertyDefinitions propertyDefinitions,
- ServerClient client, Configuration deprecatedConfiguration) {
+ ServerClient client, Configuration deprecatedConfiguration) {
super(propertyDefinitions);
this.bootstrapSettings = bootstrapSettings;
this.client = client;
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/Bucket.java b/sonar-batch/src/main/java/org/sonar/batch/index/Bucket.java
index 6c253dd7e19..d44e9613e11 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/index/Bucket.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/index/Bucket.java
@@ -26,7 +26,6 @@ import org.sonar.api.measures.Measure;
import org.sonar.api.measures.MeasuresFilter;
import org.sonar.api.measures.MeasuresFilters;
import org.sonar.api.resources.Resource;
-import org.sonar.api.rules.Violation;
import org.sonar.api.utils.SonarException;
import java.util.Collection;