From b1e8980ed1460340fe4e8db2ce0d7ee1d213854a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 14 Mar 2018 09:31:13 +0300 Subject: cleanup or supress warnings --- .../com/mitchellbosecke/pebble/extension/filters/TagsListFilter.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-www/src/main/java') 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 args) { return ((List) input).stream().map(Tag::getName).collect(Collectors.toList()); -- cgit v1.2.3