aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java/org/sonar/batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-07-01 12:35:42 +0200
committerJulien HENRY <henryju@yahoo.fr>2016-07-05 14:00:16 +0200
commitb7343f0f17e5ae2e430b1fa7561986a9df2a107d (patch)
tree6f81e336dcbb7f9ed67d3dfb5e8644a84a40462b /sonar-scanner-engine/src/main/java/org/sonar/batch
parentc7206381a3e009e4b19b0844fe1ac732daead2b2 (diff)
downloadsonarqube-b7343f0f17e5ae2e430b1fa7561986a9df2a107d.tar.gz
sonarqube-b7343f0f17e5ae2e430b1fa7561986a9df2a107d.zip
SONAR-7727 Remove some deprecated properties
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/batch')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/batch/ProjectConfigurator.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/ProjectConfigurator.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/ProjectConfigurator.java
index 1ba17667560..aee2aab3d71 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/batch/ProjectConfigurator.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/ProjectConfigurator.java
@@ -57,8 +57,7 @@ public class ProjectConfigurator {
Date analysisDate = loadAnalysisDate();
project
.setAnalysisDate(analysisDate)
- .setAnalysisVersion(loadAnalysisVersion())
- .setAnalysisType(loadAnalysisType());
+ .setAnalysisVersion(loadAnalysisVersion());
return this;
}
@@ -78,22 +77,6 @@ public class ProjectConfigurator {
return date;
}
- private Project.AnalysisType loadAnalysisType() {
- String value = settings.getString(CoreProperties.DYNAMIC_ANALYSIS_PROPERTY);
- if (value == null) {
- return Project.AnalysisType.DYNAMIC;
- }
-
- LOG.warn("'sonar.dynamicAnalysis' is deprecated since version 4.3 and should no longer be used.");
- if ("true".equals(value)) {
- return Project.AnalysisType.DYNAMIC;
- }
- if ("reuseReports".equals(value)) {
- return Project.AnalysisType.REUSE_REPORTS;
- }
- return Project.AnalysisType.STATIC;
- }
-
private String loadAnalysisVersion() {
return settings.getString(CoreProperties.PROJECT_VERSION_PROPERTY);
}