aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-04-06 21:08:53 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-04-06 21:08:53 +0200
commit3b2d595782dca303ed648b818f2810b0e4363de0 (patch)
tree80991dbdfbee9185706116934c31a5d022f4818f /sonar-scanner-engine/src
parent06db9c31a773ce1b7bf31745c694590dde9d10c4 (diff)
downloadsonarqube-3b2d595782dca303ed648b818f2810b0e4363de0.tar.gz
sonarqube-3b2d595782dca303ed648b818f2810b0e4363de0.zip
fix quality flaws
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/batch/analysis/DefaultAnalysisMode.java3
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java6
2 files changed, 3 insertions, 6 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/analysis/DefaultAnalysisMode.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/analysis/DefaultAnalysisMode.java
index bd27cf81ca0..32a872ed16f 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/batch/analysis/DefaultAnalysisMode.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/analysis/DefaultAnalysisMode.java
@@ -24,7 +24,6 @@ import javax.annotation.CheckForNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sonar.api.CoreProperties;
-import org.sonar.api.batch.AnalysisMode;
import org.sonar.batch.bootstrap.AbstractAnalysisMode;
import org.sonar.batch.bootstrap.GlobalProperties;
import org.sonar.batch.mediumtest.FakePluginInstaller;
@@ -32,7 +31,7 @@ import org.sonar.batch.mediumtest.FakePluginInstaller;
/**
* @since 4.0
*/
-public class DefaultAnalysisMode extends AbstractAnalysisMode implements AnalysisMode {
+public class DefaultAnalysisMode extends AbstractAnalysisMode {
private static final Logger LOG = LoggerFactory.getLogger(DefaultAnalysisMode.class);
private static final String KEY_SCAN_ALL = "sonar.scanAllFiles";
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java
index 774dac71361..88127f28f74 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java
@@ -19,13 +19,11 @@
*/
package org.sonar.batch.bootstrap;
-import org.sonar.api.CoreProperties;
-
-import org.sonar.api.batch.AnalysisMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.sonar.api.CoreProperties;
-public class GlobalMode extends AbstractAnalysisMode implements AnalysisMode {
+public class GlobalMode extends AbstractAnalysisMode {
private static final Logger LOG = LoggerFactory.getLogger(GlobalMode.class);
public GlobalMode(GlobalProperties props) {