diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-11-28 14:56:18 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-11-28 14:56:18 +0100 |
commit | 09a69b10d25464d353e9e6b79685918e5e0a6ce4 (patch) | |
tree | c6d744836c1b2d1671510087708471699cedc60e /sonar-core/src | |
parent | 61b9d224ddb817e9d821644d75b83c10eb6194d0 (diff) | |
download | sonarqube-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.java | 2 |
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) { |