diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-01-09 18:03:10 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-01-25 17:23:09 +0100 |
commit | 5e5fc1731d0e99ab4a457fb9eeee121f342d1f33 (patch) | |
tree | a665f85858f1a6b72605e91b1f0d80d124034721 /sonar-scanner-engine | |
parent | 7506fd298b7dbf2d8504536d8da20e790752eab4 (diff) | |
download | sonarqube-5e5fc1731d0e99ab4a457fb9eeee121f342d1f33.tar.gz sonarqube-5e5fc1731d0e99ab4a457fb9eeee121f342d1f33.zip |
SONAR-10122 fix misleading error message for multivalue properties
when parsing fails in ProjectReactor
it concerns only sonar.sources, sonar.tests and sonar.modules
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectReactorBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectReactorBuilder.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectReactorBuilder.java index 6dfb341ab78..ac49740357b 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectReactorBuilder.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectReactorBuilder.java @@ -408,7 +408,7 @@ public class ProjectReactorBuilder { static String[] getListFromProperty(Map<String, String> properties, String key) { String propValue = properties.get(key); if (propValue != null) { - return DefaultConfiguration.parseAsCsv(ProjectDefinition.SOURCES_PROPERTY, propValue); + return DefaultConfiguration.parseAsCsv(key, propValue); } return new String[0]; } |