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=9cd53c9c2bcffe78820f85c0c9a71b3ae2c1cbd3;p=pizzaservice-war.git use !isEmpty(), not size() > 0 --- 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