diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2018-06-22 16:03:36 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-06-29 09:10:16 +0200 |
commit | ca183f7f3f45e1ae2338f3a5c37d44fc0e295111 (patch) | |
tree | 53fe65285d19dd6874315c664bf89e61980a3eac /sonar-scanner-engine/src/main/java/org/sonar/batch | |
parent | e5827b3671013c14776ca189e400e3687bfa0983 (diff) | |
download | sonarqube-ca183f7f3f45e1ae2338f3a5c37d44fc0e295111.tar.gz sonarqube-ca183f7f3f45e1ae2338f3a5c37d44fc0e295111.zip |
SONAR-10138 Remove support for API < 5.6
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/batch')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LoggingConfiguration.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LoggingConfiguration.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LoggingConfiguration.java index 081cc152c5e..41b1bac7f56 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LoggingConfiguration.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/LoggingConfiguration.java @@ -66,13 +66,11 @@ public final class LoggingConfiguration { } public LoggingConfiguration setProperties(Map<String, String> properties) { - setShowSql(properties, null); setVerbose(properties, null); return this; } public LoggingConfiguration setProperties(Map<String, String> properties, @Nullable Map<String, String> fallback) { - setShowSql(properties, fallback); setVerbose(properties, fallback); return this; } @@ -117,22 +115,6 @@ public final class LoggingConfiguration { return addSubstitutionVariable(PROPERTY_ROOT_LOGGER_LEVEL, level); } - /** - * @deprecated since 5.2 there is no more db access from scanner side - */ - @Deprecated - public LoggingConfiguration setShowSql(boolean showSql) { - return this; - } - - /** - * @deprecated since 5.2 there is no more db access from scanner side - */ - @Deprecated - public LoggingConfiguration setShowSql(Map<String, String> properties, @Nullable Map<String, String> fallback) { - return this; - } - @VisibleForTesting LoggingConfiguration setFormat(String format) { return addSubstitutionVariable(PROPERTY_FORMAT, StringUtils.defaultIfBlank(format, FORMAT_DEFAULT)); |