From bfff4daf725d2f01b8db2737de5c11a2cabba547 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 18 Apr 2016 21:09:22 +0200 Subject: [PATCH] Fixed getter calls, the new ones are more descriptive. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../beans/shares/AddressbookSharesWebSessionBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/shares/AddressbookSharesWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/shares/AddressbookSharesWebSessionBean.java index 84ae04c7..75275f39 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/AddressbookSharesWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/shares/AddressbookSharesWebSessionBean.java @@ -31,6 +31,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; +import org.mxchange.addressbook.beans.login.AddressbookUserLoginWebSessionController; import org.mxchange.addressbook.events.sharing.AddressbookSharingEvent; import org.mxchange.addressbook.events.sharing.StartedAddressbookSharingEvent; import org.mxchange.addressbook.events.sharing.type.SharingType; @@ -41,7 +42,6 @@ import org.mxchange.addressbook.model.shared.SharedAddressbooksSessionBeanRemote import org.mxchange.jusercore.events.login.UserLoggedInEvent; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.addressbook.beans.login.AddressbookUserLoginWebSessionController; /** * A bean for sharing address books with other users @@ -160,13 +160,13 @@ public class AddressbookSharesWebSessionBean implements AddressbookSharesWebSess if (null == event) { // Is null throw new NullPointerException("event is null"); //NOI18N - } else if (event.getUser() == null) { + } else if (event.getLoggedInUser() == null) { // user is null throw new NullPointerException("event.user is null"); //NOI18N } // Init share list - this.sharedAddressbooks = this.shareBean.allSharedAddressbooks(event.getUser()); + this.sharedAddressbooks = this.shareBean.allSharedAddressbooks(event.getLoggedInUser()); } @Override -- 2.39.5