From a8c697477813095e59a87be7ab63e1eb3177cc66 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 1 Sep 2014 14:35:57 +0200 Subject: [PATCH] Fix minor quality flaw --- .../src/main/java/org/sonar/application/JdbcSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java index ff88ae0f9c0..20e32cacd02 100644 --- a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java +++ b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java @@ -50,7 +50,7 @@ public class JdbcSettings { } public void checkAndComplete(File homeDir, Props props) { - String url = props.value(DefaultSettings.JDBC_URL); + String url = props.nonNullValue(DefaultSettings.JDBC_URL); Provider provider = driverProvider(url); checkUrlParameters(provider, url); String driverPath = driverPath(homeDir, provider); -- 2.39.5