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-server-core/src/main/java/com/juick/service/TagService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'juick-server-core/src') diff --git a/juick-server-core/src/main/java/com/juick/service/TagService.java b/juick-server-core/src/main/java/com/juick/service/TagService.java index e24cf928..78e8f563 100644 --- a/juick-server-core/src/main/java/com/juick/service/TagService.java +++ b/juick-server-core/src/main/java/com/juick/service/TagService.java @@ -23,6 +23,7 @@ import com.juick.server.helpers.TagStats; import java.util.Collection; import java.util.List; +import java.util.stream.Stream; /** * Created by aalexeev on 11/13/16. @@ -32,7 +33,7 @@ public interface TagService { com.juick.Tag getTag(String tag, boolean autoCreate); - List getTags(String[] tags, boolean autoCreate); + List getTags(Stream tags, boolean autoCreate); boolean getTagNoIndex(int tagId); -- cgit v1.2.3