]> git.mxchange.org Git - addressbook-war.git/commitdiff
The EJB should take care of creation/update timestamps, not all single web servers
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 16:40:01 +0000 (18:40 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 16:40:01 +0000 (18:40 +0200)
src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java

index 98dcbc9ffaadb599e2d39a21b35a5e46aa7b2311..5f7d6f01abd7c73ae622ff0fec204f15a6ce217c 100644 (file)
@@ -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