diff options
author | Anatoliy Sablin | 2017-10-18 23:52:10 +0300 |
---|---|---|
committer | Anatoliy Sablin | 2017-10-18 23:52:10 +0300 |
commit | 0f2dce2a50b5868f17ccd35e6c5da74da7e4f808 (patch) | |
tree | d9d2b748281036faa24a944854b779b18a7fd2f5 /juick-www/src/main/java | |
parent | 89fccaa90b823ea924eb6d2b54fcaf40a0e3bc34 (diff) |
Simplified the code.
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/WebApp.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |