aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-11-28 14:56:18 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-11-28 14:56:18 +0100
commit09a69b10d25464d353e9e6b79685918e5e0a6ce4 (patch)
treec6d744836c1b2d1671510087708471699cedc60e /sonar-core/src
parent61b9d224ddb817e9d821644d75b83c10eb6194d0 (diff)
downloadsonarqube-09a69b10d25464d353e9e6b79685918e5e0a6ce4.tar.gz
sonarqube-09a69b10d25464d353e9e6b79685918e5e0a6ce4.zip
SONAR-3825 support periods
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/measure/MeasureFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilter.java b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilter.java
index 41f987dd579..cbe358cb792 100644
--- a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilter.java
+++ b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilter.java
@@ -183,7 +183,7 @@ public class MeasureFilter {
@VisibleForTesting
static List<String> sanitize(@Nullable List<String> list) {
- return isBlank(list) ? Collections.<String>emptyList() : list;
+ return isBlank(list) ? Collections.<String>emptyList() : Lists.newArrayList(list);
}
private static boolean isBlank(@Nullable List<String> list) {