diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-04-30 14:59:03 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2024-05-03 13:07:43 +0200 |
commit | b04cd6ba08a93a88553c1dfceaa725ced1ba381c (patch) | |
tree | 762512e8d5a70bd6981706c5d779a982c57ad75a /src/main/java/org/sonarsource/scanner/cli/Conf.java | |
parent | fd82dd7b5a54d2042da17baff7088329123797ac (diff) | |
download | sonar-scanner-cli-b04cd6ba08a93a88553c1dfceaa725ced1ba381c.tar.gz sonar-scanner-cli-b04cd6ba08a93a88553c1dfceaa725ced1ba381c.zip |
SCANCLI-145 Update to the scanner library 3.0
Diffstat (limited to 'src/main/java/org/sonarsource/scanner/cli/Conf.java')
-rw-r--r-- | src/main/java/org/sonarsource/scanner/cli/Conf.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Conf.java b/src/main/java/org/sonarsource/scanner/cli/Conf.java index 19b020e..4e9a53a 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Conf.java +++ b/src/main/java/org/sonarsource/scanner/cli/Conf.java @@ -31,7 +31,7 @@ import java.util.List; import java.util.Map; import java.util.Properties; import javax.annotation.Nullable; -import org.sonarsource.scanner.api.Utils; +import org.sonarsource.scanner.lib.EnvironmentConfig; class Conf { private static final String SCANNER_HOME = "scanner.home"; @@ -79,8 +79,8 @@ class Conf { return resolver.resolve(); } - private Properties loadEnvironmentProperties() { - return Utils.loadEnvironmentProperties(env); + private Map<String, String> loadEnvironmentProperties() { + return EnvironmentConfig.load(logger.getLogOutputAdapter()); } private Properties loadGlobalProperties() { |