From 9cd53c9c2bcffe78820f85c0c9a71b3ae2c1cbd3 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 --- .../pizzaapplication/beans/user/PizzaUserWebSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java index 08d41985..e6f7f012 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java @@ -758,7 +758,7 @@ public class PizzaUserWebSessionBean extends BasePizzaController implements Pizz @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