aboutsummaryrefslogtreecommitdiff
path: root/juick-core
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-07 23:42:53 +0300
committerGravatar Vitaly Takmazov2016-12-07 23:42:53 +0300
commite4f1bdaf728e2189d1002a175fe744b80caf8dee (patch)
tree5841befa193c3950fe059a033a1cc28b5f81c3da /juick-core
parent9431179d3977dfe6a2d387c19e1b5d8ab0bfc71a (diff)
juick-core: fix Tag (de)serialization
Diffstat (limited to 'juick-core')
-rw-r--r--juick-core/src/main/java/com/juick/Tag.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/juick-core/src/main/java/com/juick/Tag.java b/juick-core/src/main/java/com/juick/Tag.java
index 9675390b..b22bd833 100644
--- a/juick-core/src/main/java/com/juick/Tag.java
+++ b/juick-core/src/main/java/com/juick/Tag.java
@@ -32,11 +32,15 @@ import java.util.Objects;
@XmlRootElement(name = "tag", namespace = "http://juick.com/message")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class Tag implements Comparable<Tag> {
- private final String name;
+ private String name;
public int TID = 0;
public int SynonymID = 0;
+ public Tag() {
+ // required for (de)serialization
+ }
+
public Tag(String name) {
this.name = name;
}