aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Anatoliy Sablin2017-10-18 23:52:10 +0300
committerGravatar Anatoliy Sablin2017-10-18 23:52:10 +0300
commit0f2dce2a50b5868f17ccd35e6c5da74da7e4f808 (patch)
treed9d2b748281036faa24a944854b779b18a7fd2f5 /juick-www
parent89fccaa90b823ea924eb6d2b54fcaf40a0e3bc34 (diff)
Simplified the code.
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/java/com/juick/www/WebApp.java2
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);
}