From aecec40c66cd5bd7f61e614d344f4f9a6b6e0858 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 14 Oct 2015 11:31:02 +0200 Subject: [PATCH] =?utf8?q?switched=20to=20Boolean=20object=20Signed-off-by?= =?utf8?q?:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../model/shared/SharedAddressbooksSessionBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5