aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2017-04-12 15:35:13 +0200
committerJulien HENRY <henryju@yahoo.fr>2017-04-12 20:57:37 +0200
commit3f8feb090594863155ce0cb1451128559965836d (patch)
tree31d51e65321bf813a6f205bb4490cceda0341879 /src/main/java
parentab646a451062935cc9d9b32fbe80e3c489262230 (diff)
downloadsonar-scanner-cli-3f8feb090594863155ce0cb1451128559965836d.tar.gz
sonar-scanner-cli-3f8feb090594863155ce0cb1451128559965836d.zip
SQSCANNER-39 Don't filter properties with blank value
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java b/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java
index d1fe2c8..d92f7fe 100644
--- a/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java
+++ b/src/main/java/org/sonarsource/scanner/cli/PropertyResolver.java
@@ -67,6 +67,7 @@ public class PropertyResolver {
private String resolveProperty(String propKey) {
String propValue = getValue(propKey);
if (propValue.isEmpty()) {
+ resolved.setProperty(propKey, propValue);
return propValue;
}