]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Fixed getter calls, the new ones are more descriptive.
authorRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 19:09:22 +0000 (21:09 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 19:09:22 +0000 (21:09 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/shares/AddressbookSharesWebSessionBean.java

index 84ae04c7b1daf6c6ca2c290a20dac5bc85f81064..75275f3918d02c4b71bd3531f962c6398f93d6ef 100644 (file)
@@ -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