From: Roland Haeder Date: Wed, 14 Oct 2015 13:06:57 +0000 (+0200) Subject: !isEmpty() is not reliable?! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=50fbed85acd376cd1eba728662b005d12e8647e3;p=jfinancials-war.git !isEmpty() is not reliable?! Signed-off-by:Roland Häder --- 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