aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/sonarsource/scanner/cli/Conf.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/sonarsource/scanner/cli/Conf.java')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Conf.java6
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 8bfe39c..26f44f0 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Conf.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Conf.java
@@ -55,7 +55,7 @@ class Conf {
this.env = env;
}
- Properties properties() throws IOException {
+ Properties properties() {
Properties result = new Properties();
result.putAll(loadGlobalProperties());
result.putAll(loadProjectProperties());
@@ -79,7 +79,7 @@ class Conf {
return Utils.loadEnvironmentProperties(env);
}
- private Properties loadGlobalProperties() throws IOException {
+ private Properties loadGlobalProperties() {
Path settingsFile = locatePropertiesFile(cli.properties(), SCANNER_HOME, "conf/sonar-scanner.properties",
SCANNER_SETTINGS);
if (settingsFile != null && Files.isRegularFile(settingsFile)) {
@@ -90,7 +90,7 @@ class Conf {
return new Properties();
}
- private Properties loadProjectProperties() throws IOException {
+ private Properties loadProjectProperties() {
Properties rootProps = new Properties();
Properties knownProps = new Properties();