From fcf3cf7006505667c707d1c2713bb302a7ca457f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 16 Oct 2015 08:50:56 +0200 Subject: [PATCH] =?utf8?q?seperated=20user=20init=20and=20method=20invocat?= =?utf8?q?ion=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../addressbook/beans/addressbook/AddressbookWebBean.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java index ff12c1b6..411449fc 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java +++ b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java @@ -458,7 +458,10 @@ public class AddressbookWebBean implements AddressbookWebController { * Initializes the user user's address book list */ private void initAddressbookList () { + // Get user instance + User user = this.loginController.getLoggedInUser(); + // Fill list with entries - this.usersAddressbooks = this.addressbookBean.getUsersAddressbookList(this.loginController.getLoggedInUser()); + this.usersAddressbooks = this.addressbookBean.getUsersAddressbookList(user); } } -- 2.39.5