From 50fbed85acd376cd1eba728662b005d12e8647e3 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 14 Oct 2015 15:06:57 +0200 Subject: [PATCH] =?utf8?q?!isEmpty()=20is=20not=20reliable=3F!=20Signed-of?= =?utf8?q?f-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/java/org/mxchange/addressbook/beans/user/UserWebBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebBean.java b/src/java/org/mxchange/addressbook/beans/user/UserWebBean.java index 64846978..2ae27641 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/UserWebBean.java @@ -690,7 +690,7 @@ public class UserWebBean implements UserWebController { @Override public boolean isPublicUserRegistered () { - return ((this.publicUserList instanceof List) && (!this.publicUserList.isEmpty())); + return ((this.publicUserList instanceof List) && (this.publicUserList.size() > 0)); } @Override -- 2.39.5