diff options
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) { |