]> git.mxchange.org Git - addressbook-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>
Thu, 28 Jul 2016 19:50:26 +0000 (21:50 +0200)
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java

index 7d624c3ccf5a1b91bdb3d04296c13f0f7be8199c..ffb8f66aa29e40393f61a9bf6cd986ff9d630603 100644 (file)
@@ -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