]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
use !isEmpty(), not size() > 0
authorRoland Häder <roland@mxchange.org>
Mon, 27 Jun 2016 13:04:54 +0000 (15:04 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 20:41:43 +0000 (22:41 +0200)
src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java

index 08d419853f5324de9b30e7aeb700ffd580d7e154..e6f7f012d8ab9f90261d239dbbd4e724a718be40 100644 (file)
@@ -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