aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 18:18:07 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 18:18:07 +0200
commit1f5682409af97410aca5e545ccbd40b6b037e6a9 (patch)
treeba9f1fe3c26d994b9aaafe9a09d5cf528fc21a41 /sonar-batch
parent6e38de82d91aed63e200f0b45f54a4a2a7875941 (diff)
downloadsonarqube-1f5682409af97410aca5e545ccbd40b6b037e6a9.tar.gz
sonarqube-1f5682409af97410aca5e545ccbd40b6b037e6a9.zip
Fix new violations
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/ProjectConfiguration.java5
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/events/EventBus.java1
2 files changed, 1 insertions, 5 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfiguration.java b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfiguration.java
index 55b92b57998..5e74b027b45 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/ProjectConfiguration.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/ProjectConfiguration.java
@@ -23,9 +23,6 @@ import org.apache.commons.configuration.*;
import org.sonar.api.batch.bootstrap.ProjectDefinition;
import org.sonar.api.batch.bootstrap.ProjectReactor;
import org.sonar.api.database.DatabaseSession;
-import org.sonar.api.resources.Project;
-
-import java.util.Properties;
public class ProjectConfiguration extends CompositeConfiguration {
private PropertiesConfiguration runtimeConfiguration;
@@ -36,7 +33,7 @@ public class ProjectConfiguration extends CompositeConfiguration {
public ProjectConfiguration(DatabaseSession session, ProjectReactor projectReactor) {
this(session, projectReactor.getRoot());
}
-
+
public ProjectConfiguration(DatabaseSession session, ProjectDefinition project) {
runtimeConfiguration = new PropertiesConfiguration();
addConfiguration(runtimeConfiguration);
diff --git a/sonar-batch/src/main/java/org/sonar/batch/events/EventBus.java b/sonar-batch/src/main/java/org/sonar/batch/events/EventBus.java
index 34765b06315..8c84d849a8e 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/events/EventBus.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/events/EventBus.java
@@ -21,7 +21,6 @@ package org.sonar.batch.events;
import com.google.common.collect.Lists;
import org.sonar.api.batch.events.EventHandler;
-import org.sonar.api.utils.Logs;
import java.util.List;