aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src/main/java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2021-09-23 11:16:04 -0500
committersonartech <sonartech@sonarsource.com>2021-09-24 20:03:10 +0000
commit215f8403a6c4a131b9592457fd95a280274237de (patch)
tree9412c0030b97b4e40563a882ababea60189270c6 /server/sonar-main/src/main/java
parent5377194709960576b1367a220c6ba20ce6f41ef0 (diff)
downloadsonarqube-215f8403a6c4a131b9592457fd95a280274237de.tar.gz
sonarqube-215f8403a6c4a131b9592457fd95a280274237de.zip
Fix code quality issues
Diffstat (limited to 'server/sonar-main/src/main/java')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/config/JdbcSettings.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/config/JdbcSettings.java b/server/sonar-main/src/main/java/org/sonar/application/config/JdbcSettings.java
index b1cf76d4a3c..bc183577bd4 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/config/JdbcSettings.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/config/JdbcSettings.java
@@ -142,16 +142,4 @@ public class JdbcSettings implements Consumer<Props> {
}
}
}
-
- private static void checkRequiredParameter(String url, String val) {
- if (!url.contains(val)) {
- throw new MessageException(format("JDBC URL must have the property '%s'", val));
- }
- }
-
- private void checkRecommendedParameter(String url, String val) {
- if (!url.contains(val)) {
- LoggerFactory.getLogger(getClass()).warn("JDBC URL is recommended to have the property '{}'", val);
- }
- }
}