diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2018-10-19 15:43:53 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-11-07 20:21:02 +0100 |
commit | d6d4d9b9bc406b58150ecfb438fc926ab7f34e80 (patch) | |
tree | ec629444cd582ae8ea9bf29084a73d4595733439 /sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor | |
parent | 945beaac05d9a6b77b300ce877d4046f5918eded (diff) | |
download | sonarqube-d6d4d9b9bc406b58150ecfb438fc926ab7f34e80.tar.gz sonarqube-d6d4d9b9bc406b58150ecfb438fc926ab7f34e80.zip |
Improve code quality
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java index ed4b6859911..3d5a32dbcdf 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java @@ -52,7 +52,6 @@ import org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable; import org.sonar.api.config.Configuration; import org.sonar.api.config.Settings; import org.sonar.api.utils.Version; -import org.sonar.scanner.scan.branch.BranchConfiguration; import org.sonar.scanner.sensor.noop.NoOpNewAdHocRule; import org.sonar.scanner.sensor.noop.NoOpNewAnalysisError; import org.sonar.scanner.sensor.noop.NoOpNewCpdTokens; @@ -80,10 +79,9 @@ public class DefaultSensorContext implements SensorContext { private final InputModule module; private final SonarRuntime sonarRuntime; private final Configuration config; - private final BranchConfiguration branchConfiguration; public DefaultSensorContext(InputModule module, Configuration config, Settings mutableSettings, FileSystem fs, ActiveRules activeRules, - AnalysisMode analysisMode, SensorStorage sensorStorage, SonarRuntime sonarRuntime, BranchConfiguration branchConfiguration) { + AnalysisMode analysisMode, SensorStorage sensorStorage, SonarRuntime sonarRuntime) { this.module = module; this.config = config; this.mutableSettings = mutableSettings; @@ -92,7 +90,6 @@ public class DefaultSensorContext implements SensorContext { this.analysisMode = analysisMode; this.sensorStorage = sensorStorage; this.sonarRuntime = sonarRuntime; - this.branchConfiguration = branchConfiguration; } @Override |