From 9a034017084af196f9e595b6f2b124cedbf63be8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 27 Jun 2016 15:04:54 +0200 Subject: [PATCH] use !isEmpty(), not size() > 0 --- .../addressbook/beans/user/AddressbookUserWebSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5