]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/model/addressbook/shared/AddressbookShare.java
Cleanup:
[addressbook-lib.git] / src / org / mxchange / addressbook / model / addressbook / shared / AddressbookShare.java
index 4373faebb2fc6181ecba775a975ca5f5f5f17487..e988dc36a10277bd23d8d696ca0e44ab5ae8cff6 100644 (file)
@@ -58,7 +58,7 @@ import org.mxchange.jusercore.model.user.User;
                        )
                }
 )
-public class AddressbookShare implements ShareableAddressbook, Comparable<ShareableAddressbook> {
+public class AddressbookShare implements ShareableAddressbook {
 
        /**
         * Serial number
@@ -151,14 +151,9 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
        public AddressbookShare () {
        }
 
-       @Override
-       public int compareTo (final ShareableAddressbook share) {
-               throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
-       }
-
        @Override
        public boolean equals (final Object object) {
-               if (object == null) {
+               if (null == object) {
                        return false;
                } else if (this.getClass() != object.getClass()) {
                        return false;