From 0f2dce2a50b5868f17ccd35e6c5da74da7e4f808 Mon Sep 17 00:00:00 2001 From: Anatoliy Sablin Date: Wed, 18 Oct 2017 23:52:10 +0300 Subject: Simplified the code. --- juick-www/src/main/java/com/juick/www/WebApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/main/java/com/juick/www') diff --git a/juick-www/src/main/java/com/juick/www/WebApp.java b/juick-www/src/main/java/com/juick/www/WebApp.java index a0819ad6..4c706426 100644 --- a/juick-www/src/main/java/com/juick/www/WebApp.java +++ b/juick-www/src/main/java/com/juick/www/WebApp.java @@ -125,7 +125,7 @@ public class WebApp implements DisposableBean { } return t; }); - tags = tagService.getTags(tagsList.toArray(String[]::new), true); + tags = tagService.getTags(tagsList, true); while (tags.size() > 5) { tags.remove(5); } -- cgit v1.2.3