aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-01 14:35:57 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-01 14:36:05 +0200
commita8c697477813095e59a87be7ab63e1eb3177cc66 (patch)
tree2230e78345cdad2101478ee24715dd1d23cc03b4 /sonar-application
parentd4fdf7c8f487e90c64429d4896cc169cddd7cab3 (diff)
downloadsonarqube-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.java2
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);