aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main
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-server-core/src/main
parent89fccaa90b823ea924eb6d2b54fcaf40a0e3bc34 (diff)
Simplified the code.
Diffstat (limited to 'juick-server-core/src/main')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/TagService.java3
1 files changed, 2 insertions, 1 deletions
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<Tag> getTags(String[] tags, boolean autoCreate);
+ List<Tag> getTags(Stream<String> tags, boolean autoCreate);
boolean getTagNoIndex(int tagId);