From 44f7ac629c5a5cf359c82bb96a263fedcb547a5e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 5 Oct 2018 15:17:24 +0300 Subject: Write user uri to replies --- juick-common/src/main/java/com/juick/User.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-common/src/main') 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 -- cgit v1.2.3