From e4f1bdaf728e2189d1002a175fe744b80caf8dee Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 7 Dec 2016 23:42:53 +0300 Subject: juick-core: fix Tag (de)serialization --- juick-core/src/main/java/com/juick/Tag.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'juick-core/src') 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 { - 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; } -- cgit v1.2.3