From: Roland Häder Date: Mon, 27 Jun 2016 13:04:54 +0000 (+0200) Subject: use !isEmpty(), not size() > 0 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a034017084af196f9e595b6f2b124cedbf63be8;p=jfinancials-war.git use !isEmpty(), not size() > 0 --- diff --git a/src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java index 7d624c3c..ffb8f66a 100644 --- a/src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java @@ -700,7 +700,7 @@ public class AddressbookUserWebSessionBean extends BaseAddressbookController imp @Override public boolean isVisibleUserFound () { - return ((this.visibleUserList instanceof List) && (this.visibleUserList.size() > 0)); + return ((this.visibleUserList instanceof List) && (!this.visibleUserList.isEmpty())); } @Override