diff options
Diffstat (limited to 'juick-common/src/main/java/com/juick/service')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/TagService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/service/TagService.java b/juick-common/src/main/java/com/juick/service/TagService.java index 17b6c5de..7f89b478 100644 --- a/juick-common/src/main/java/com/juick/service/TagService.java +++ b/juick-common/src/main/java/com/juick/service/TagService.java @@ -20,6 +20,7 @@ package com.juick.service; import com.juick.Tag; import com.juick.User; import com.juick.server.helpers.TagStats; +import org.apache.commons.lang3.tuple.Pair; import java.util.Collection; import java.util.List; @@ -49,7 +50,7 @@ public interface TagService { List<Tag> updateTags(int mid, Collection<Tag> newTags); - List<Tag> fromString(String txt); + Pair<String, List<Tag>> fromString(String txt); List<TagStats> getMessageTags(int mid); |