From: Roland Haeder Date: Mon, 18 Apr 2016 19:09:22 +0000 (+0200) Subject: Fixed getter calls, the new ones are more descriptive. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bfff4daf725d2f01b8db2737de5c11a2cabba547;p=jfinancials-war.git Fixed getter calls, the new ones are more descriptive. Signed-off-by: Roland Häder --- 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