aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 15:17:24 +0300
committerGravatar Vitaly Takmazov2018-10-05 15:17:24 +0300
commit44f7ac629c5a5cf359c82bb96a263fedcb547a5e (patch)
tree63abf3a5a8a4a5648558861f13e6be09ec82a54f /juick-common/src/main
parentbcfd8e147387025db75d5ee15168405aad62730e (diff)
Write user uri to replies
Diffstat (limited to 'juick-common/src/main')
-rw-r--r--juick-common/src/main/java/com/juick/User.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/User.java b/juick-common/src/main/java/com/juick/User.java
index 5615d96f..8228230d 100644
--- a/juick-common/src/main/java/com/juick/User.java
+++ b/juick-common/src/main/java/com/juick/User.java
@@ -18,6 +18,7 @@ package com.juick;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
+import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import javax.annotation.Nonnull;
@@ -53,6 +54,7 @@ public class User {
public User() {
tokens = new ArrayList<>();
+ uri = URI.create(StringUtils.EMPTY);
}
@Override