aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/User.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-31 11:21:58 +0300
committerGravatar Vitaly Takmazov2018-12-31 11:21:58 +0300
commita429149e6d1fd0928670f3d7f0d4c67fb9f07fee (patch)
tree948253551c1388f6e9dd052e2a65e32878a03d9f /src/main/java/com/juick/User.java
parent9599599d665e65f35d804eade620cf063ee723ff (diff)
Cleanup XML serialization
Diffstat (limited to 'src/main/java/com/juick/User.java')
-rw-r--r--src/main/java/com/juick/User.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java
index 78d47139..f4c6b6db 100644
--- a/src/main/java/com/juick/User.java
+++ b/src/main/java/com/juick/User.java
@@ -209,6 +209,7 @@ public class User {
}
@Nonnull
+ @XmlTransient
public URI getUri() {
if (uri == null) {
uri = URI.create(StringUtils.EMPTY);
@@ -228,6 +229,7 @@ public class User {
this.seen = seen;
}
+ @XmlTransient
public boolean isVerified() {
return verified;
}