]> git.mxchange.org Git - addressbook-ejb.git/commitdiff
switched to Boolean object
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 09:31:02 +0000 (11:31 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 09:31:02 +0000 (11:31 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBean.java

index 6759f9a8f6d29921f88959d84e50178395b9eac0..350c18b4a39f008f6a855fa3037418948923122b 100644 (file)
@@ -56,7 +56,7 @@ public class SharedAddressbooksSessionBean extends BaseDatabaseBean implements S
 
        @Override
        @SuppressWarnings ("unchecked")
-       public boolean isUserSharingAddressbooks (final User user) {
+       public Boolean isUserSharingAddressbooks (final User user) {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("isUserSharingAddressbooks: user={0} - CALLED!", user)); //NOI18N
 
@@ -85,7 +85,7 @@ public class SharedAddressbooksSessionBean extends BaseDatabaseBean implements S
                query.setParameter("user", user); //NOI18N
 
                // Default is not sharing
-               boolean isSharing = false;
+               Boolean isSharing = Boolean.FALSE;
 
                // Try it as an exception may be thrown
                try {