aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/main/java/com')
-rw-r--r--juick-common/src/main/java/com/juick/User.java4
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 ca907987..e2e45122 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;
}