diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-04-06 21:08:53 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-04-06 21:08:53 +0200 |
commit | 3b2d595782dca303ed648b818f2810b0e4363de0 (patch) | |
tree | 80991dbdfbee9185706116934c31a5d022f4818f /sonar-scanner-engine/src | |
parent | 06db9c31a773ce1b7bf31745c694590dde9d10c4 (diff) | |
download | sonarqube-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.java | 3 | ||||
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrap/GlobalMode.java | 6 |
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) { |