aboutsummaryrefslogtreecommitdiff
path: root/juick-core
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-01 13:56:53 +0300
committerGravatar Vitaly Takmazov2016-12-01 13:56:53 +0300
commit3d7f60c1c0b48dad2f58bffe3352d1c5c1b93f00 (patch)
treeab311d5d6102b2c76c03b266fc1b794108cba0fc /juick-core
parent92d6700919e87c81db4a42a4b286257f62566cbf (diff)
juick-api: Tags controller from perl, refactoring
Diffstat (limited to 'juick-core')
-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;
}