diff options
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r-- | juick-www/src/main/java/com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java b/juick-www/src/main/java/com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java index 02953f79..bfbf18fb 100644 --- a/juick-www/src/main/java/com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java +++ b/juick-www/src/main/java/com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java @@ -28,6 +28,7 @@ import java.util.stream.Collectors; * Created by vitalyster on 23.05.2017. */ public class TagsListFilter implements Filter { + @SuppressWarnings("unchecked") @Override public Object apply(Object input, Map<String, Object> args) { return ((List<Tag>) input).stream().map(Tag::getName).collect(Collectors.toList()); |