aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/Message.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-07 11:52:56 +0300
committerGravatar Vitaly Takmazov2016-07-07 11:52:56 +0300
commit01eada11aafcb712a366ce816c98c660f5ea6907 (patch)
treebe34a296d2a35b24c360a17499c68a028cb88965 /src/main/java/com/juick/Message.java
parent201ed4cdb586c8516d1ec13b90cd615cc030a705 (diff)
parentfbedd4f7784f0cb651cc8105c656a1c20da0e2d5 (diff)
merge core develop
Diffstat (limited to 'src/main/java/com/juick/Message.java')
-rw-r--r--src/main/java/com/juick/Message.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/juick/Message.java b/src/main/java/com/juick/Message.java
index 1a690106..c128b4f2 100644
--- a/src/main/java/com/juick/Message.java
+++ b/src/main/java/com/juick/Message.java
@@ -80,6 +80,12 @@ public class Message implements Comparable {
Recommendation = msg.Recommendation;
}
+ public void parseTags(String strTags) {
+ if (strTags != null) {
+ Tags.addAll(Arrays.asList(strTags.split(" ")));
+ }
+ }
+
@Override
public boolean equals(Object obj) {
if (!(obj instanceof Message)) {