aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-25 10:28:54 +0300
committerGravatar Vitaly Takmazov2018-09-25 10:28:54 +0300
commit85abc3e201539f81500754a7fb0e4f3a9d148fc4 (patch)
tree7d2e037fd6d0caea78162b9820b01d89aec1010d /juick-common/src/main/java/com/juick/service
parent933e5702864d0babcd9f8cbc1791078f387b24c7 (diff)
fix new message tags extracting
Diffstat (limited to 'juick-common/src/main/java/com/juick/service')
-rw-r--r--juick-common/src/main/java/com/juick/service/TagService.java3
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);