]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/model/addressbook/shared/AddressbookShare.java
Added email address for author + made default constructor public (maybe needed for...
[addressbook-lib.git] / src / org / mxchange / addressbook / model / addressbook / shared / AddressbookShare.java
index 33c02920d5481ef185aa600ec0ec7f8db6f0aa7d..d3f9166a28fe24b622ea4fc055118ff15fa96e99 100644 (file)
@@ -42,7 +42,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A POJO for sharing address books with other users
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Entity (name = "addressbook_shares")
 @Table (name = "addressbook_shares")
@@ -111,7 +111,7 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
         * @param sharee User sharee instance
         */
        public AddressbookShare (final Addressbook addressbook, final User sharee) {
-               // Call protected constructor
+               // Call default constructor
                this();
 
                // Check all conditions
@@ -146,9 +146,9 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
        }
 
        /**
-        * Default constructor for entity manager
+        * Default constructor
         */
-       protected AddressbookShare () {
+       public AddressbookShare () {
        }
 
        @Override