From: Roland Haeder Date: Wed, 14 Oct 2015 09:31:02 +0000 (+0200) Subject: switched to Boolean object X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aecec40c66cd5bd7f61e614d344f4f9a6b6e0858;p=jfinancials-ejb.git switched to Boolean object Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBean.java b/src/java/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBean.java index 6759f9a..350c18b 100644 --- a/src/java/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBean.java +++ b/src/java/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBean.java @@ -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 {