]> git.mxchange.org Git - jaddressbook-share-lib.git/commitdiff
Don't miss to add creation timestamp
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:01:09 +0000 (12:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:01:09 +0000 (12:01 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/addressbook/model/addressbook/shared/AddressbookShare.java

index c7bef74c1e373380dfaa5012d439e1a3544135ea..54fc81147f412d2583b1178d2722acc837075276 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.addressbook.model.addressbook.shared;
 
 import java.text.MessageFormat;
 import java.util.Calendar;
+import java.util.GregorianCalendar;
 import java.util.Objects;
 import javax.persistence.Basic;
 import javax.persistence.Column;
@@ -146,6 +147,7 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
                this.shareAddressbook = addressbook;
                this.shareUserOwner = addressbook.getAddressbookUser();
                this.shareUserSharee = sharee;
+               this.shareCreated = new GregorianCalendar();
        }
 
        @Override