aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl/src
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-04-07 10:59:02 +0200
committersonartech <sonartech@sonarsource.com>2023-04-07 20:02:58 +0000
commit0edad2cdab91dd5f821858472fb3543ecf1e780a (patch)
treef3c6f34749cc449671d5df722407b95c6edf5804 /sonar-plugin-api-impl/src
parent6cc5aa8e583210e195018a95ea53de709c454c5b (diff)
downloadsonarqube-0edad2cdab91dd5f821858472fb3543ecf1e780a.tar.gz
sonarqube-0edad2cdab91dd5f821858472fb3543ecf1e780a.zip
SONAR-19005 Bump org.apache.commons:commons-csv version to 1.10.0
Diffstat (limited to 'sonar-plugin-api-impl/src')
-rw-r--r--sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/MultivalueProperty.java3
1 files changed, 2 insertions, 1 deletions
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);
}
}