aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
-rw-r--r--sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 9c0c677f00b..1af02831290 100644
--- a/build.gradle
+++ b/build.gradle
@@ -295,7 +295,7 @@ subprojects {
dependency 'net.jpountz.lz4:lz4:1.3.0'
dependency 'net.lightbody.bmp:littleproxy:1.1.0-beta-bmp-17'
dependency 'org.awaitility:awaitility:4.2.0'
- dependency 'org.apache.commons:commons-csv:1.9.0'
+ dependency 'org.apache.commons:commons-csv:1.10.0'
dependency 'org.apache.commons:commons-email:1.5'
dependency 'com.zaxxer:HikariCP:5.0.1'
dependency('org.apache.httpcomponents:httpclient:4.5.14') {
diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java
index ef7f919a6d6..48b7ef1139c 100644
--- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java
+++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java
@@ -21,6 +21,7 @@ package org.sonar.api.config.internal;
import java.io.IOException;
import java.io.StringReader;
+import java.io.UncheckedIOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@@ -57,7 +58,7 @@ public class MultivalueProperty {
}
processRecords(result, records, valueProcessor);
return result.toArray(new String[result.size()]);
- } catch (IOException e) {
+ } catch (IOException | UncheckedIOException e) {
throw new IllegalStateException("Property: '" + key + "' doesn't contain a valid CSV value: '" + value + "'", e);
}
}