aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-core/src')
-rw-r--r--juick-core/src/main/java/com/juick/Tag.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/juick-core/src/main/java/com/juick/Tag.java b/juick-core/src/main/java/com/juick/Tag.java
index 3f5add6e..98fe60ff 100644
--- a/juick-core/src/main/java/com/juick/Tag.java
+++ b/juick-core/src/main/java/com/juick/Tag.java
@@ -17,7 +17,6 @@
*/
package com.juick;
-import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonValue;
import javax.xml.bind.annotation.XmlAccessType;
@@ -36,7 +35,6 @@ public class Tag {
public int TID = 0;
public int SynonymID = 0;
- public int UsageCnt = 0;
public Tag() {
@@ -52,14 +50,13 @@ public class Tag {
(o instanceof Tag) && Objects.equals(name, ((Tag) o).name);
}
- @JsonIgnore
@XmlValue
+ @JsonValue
public String getName() {
return name;
}
@Override
- @JsonValue
public String toString() {
return name;
}