From 11a1ab3d0b361dbb1e9e7ca7f2bd5e1d0a78533c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 Apr 2016 18:40:01 +0200 Subject: [PATCH] The EJB should take care of creation/update timestamps, not all single web servers --- .../beans/addressbook/AddressbookWebSessionBean.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java index 98dcbc9f..5f7d6f01 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java @@ -19,7 +19,6 @@ package org.mxchange.addressbook.beans.addressbook; import java.text.MessageFormat; import java.util.Calendar; import java.util.Collections; -import java.util.GregorianCalendar; import java.util.LinkedList; import java.util.List; import java.util.Objects; @@ -153,7 +152,7 @@ public class AddressbookWebSessionBean implements AddressbookWebSessionControlle } // Create address book instance with name - Addressbook book = new UserAddressbook(this.getAddressbookName(), this.loginController.getLoggedInUser(), new GregorianCalendar()); + Addressbook book = new UserAddressbook(this.getAddressbookName(), this.loginController.getLoggedInUser()); try { // Register this address book -- 2.39.5