diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-01 14:35:57 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-01 14:36:05 +0200 |
commit | a8c697477813095e59a87be7ab63e1eb3177cc66 (patch) | |
tree | 2230e78345cdad2101478ee24715dd1d23cc03b4 /sonar-application | |
parent | d4fdf7c8f487e90c64429d4896cc169cddd7cab3 (diff) | |
download | sonarqube-a8c697477813095e59a87be7ab63e1eb3177cc66.tar.gz sonarqube-a8c697477813095e59a87be7ab63e1eb3177cc66.zip |
Fix minor quality flaw
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/JdbcSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |