]> git.mxchange.org Git - addressbook-war.git/commitdiff
!isEmpty() is not reliable?!
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 13:06:57 +0000 (15:06 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 13:06:57 +0000 (15:06 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/addressbook/beans/user/UserWebBean.java

index 64846978aea7d963d36a9b002d47485bf68eb92e..2ae2764105a754b2c9025a366e31ed6ce1941106 100644 (file)
@@ -690,7 +690,7 @@ public class UserWebBean implements UserWebController {
 
        @Override
        public boolean isPublicUserRegistered () {
-               return ((this.publicUserList instanceof List) && (!this.publicUserList.isEmpty()));
+               return ((this.publicUserList instanceof List) && (this.publicUserList.size() > 0));
        }
 
        @Override