diff options
Diffstat (limited to 'juick-core')
-rw-r--r-- | juick-core/src/main/java/com/juick/Tag.java | 6 |
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; } |