From d1dae1f5bb9de1b8ff6893e821e9aaad3e37216c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 31 Jan 2018 14:30:36 +0300 Subject: core: drop jid from user properties --- .../src/main/java/com/juick/server/helpers/AnonymousUser.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'juick-server-core/src/main/java/com/juick/server') diff --git a/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java b/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java index d1e13e78..122bbe29 100644 --- a/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java +++ b/juick-server-core/src/main/java/com/juick/server/helpers/AnonymousUser.java @@ -30,7 +30,6 @@ public final class AnonymousUser extends User { super.setName(getName()); super.setAvatar(getAvatar()); super.setFullName(getFullName()); - super.setJid(getJid()); super.setMessagesCount(getMessagesCount()); super.setAuthHash(getAuthHash()); super.setBanned(isBanned()); @@ -58,11 +57,6 @@ public final class AnonymousUser extends User { return getName(); } - @Override - public String getJid() { - return "anonym@localhost"; - } - @Override public String getAuthHash() { return null; @@ -115,10 +109,6 @@ public final class AnonymousUser extends User { public void setFullName(String fullName) { } - @Override - public void setJid(String jid) { - } - @Override public void setAuthHash(String authHash) { } -- cgit v1.2.3