aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src/main')
-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 9675390b3..b22bd8331 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;
}