diff options
Diffstat (limited to 'juick-common/src/main/java/com')
-rw-r--r-- | juick-common/src/main/java/com/juick/User.java | 4 |
1 files changed, 4 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 ca9079874..e2e45122a 100644 --- a/juick-common/src/main/java/com/juick/User.java +++ b/juick-common/src/main/java/com/juick/User.java @@ -204,7 +204,11 @@ public class User { this.unread = unread; } + @Nonnull public URI getUri() { + if (uri == null) { + uri = URI.create(StringUtils.EMPTY); + } return uri; } |