MCPcopy Create free account
hub / github.com/M66B/FairEmail / equals

Method equals

app/src/main/java/eu/faircode/email/EntityMessage.java:794–890  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

792 }
793
794 @Override
795 public boolean equals(Object obj) {
796 if (obj instanceof EntityMessage) {
797 EntityMessage other = (EntityMessage) obj;
798 return (Objects.equals(this.account, other.account) &&
799 this.folder.equals(other.folder) &&
800 Objects.equals(this.identity, other.identity) &&
801 // extra
802 Objects.equals(this.uid, other.uid) &&
803 Objects.equals(this.msgid, other.msgid) &&
804 Objects.equals(this.references, other.references) &&
805 Objects.equals(this.deliveredto, other.deliveredto) &&
806 Objects.equals(this.inreplyto, other.inreplyto) &&
807 Objects.equals(this.wasforwardedfrom, other.wasforwardedfrom) &&
808 Objects.equals(this.thread, other.thread) &&
809 Objects.equals(this.priority, other.priority) &&
810 Objects.equals(this.importance, other.importance) &&
811 Objects.equals(this.sensitivity, other.sensitivity) &&
812 Objects.equals(this.dsn, other.dsn) &&
813 Objects.equals(this.receipt_request, other.receipt_request) &&
814 MessageHelper.equal(this.receipt_to, other.receipt_to) &&
815 Objects.equals(this.bimi_selector, other.bimi_selector) &&
816 Objects.equals(this.tls, other.tls) &&
817 Objects.equals(this.dkim, other.dkim) &&
818 Objects.equals(this.spf, other.spf) &&
819 Objects.equals(this.dmarc, other.dmarc) &&
820 Objects.equals(this.auth, other.auth) &&
821 Objects.equals(this.mx, other.mx) &&
822 Objects.equals(this.blocklist, other.blocklist) &&
823 Objects.equals(this.from_domain, other.from_domain) &&
824 Objects.equals(this.reply_domain, other.reply_domain) &&
825 Objects.equals(this.avatar, other.avatar) &&
826 Objects.equals(this.sender, other.sender) &&
827 MessageHelper.equal(this.return_path, other.return_path) &&
828 MessageHelper.equal(this.smtp_from, other.smtp_from) &&
829 MessageHelper.equal(this.submitter, other.submitter) &&
830 MessageHelper.equal(this.from, other.from) &&
831 MessageHelper.equal(this.to, other.to) &&
832 MessageHelper.equal(this.cc, other.cc) &&
833 MessageHelper.equal(this.bcc, other.bcc) &&
834 MessageHelper.equal(this.reply, other.reply) &&
835 MessageHelper.equal(this.list_post, other.list_post) &&
836 Objects.equals(this.unsubscribe, other.unsubscribe) &&
837 Objects.equals(this.autocrypt, other.autocrypt) &&
838 Objects.equals(this.headers, other.headers) &&
839 Objects.equals(this.infrastructure, other.infrastructure) &&
840 Objects.equals(this.raw, other.raw) &&
841 Objects.equals(this.subject, other.subject) &&
842 Objects.equals(this.size, other.size) &&
843 Objects.equals(this.total, other.total) &&
844 Objects.equals(this.attachments, other.attachments) &&
845 this.content == other.content &&
846 Objects.equals(this.language, other.language) &&
847 Objects.equals(this.plain_only, other.plain_only) &&
848 Objects.equals(this.encrypt, other.encrypt) &&
849 Objects.equals(this.ui_encrypt, other.ui_encrypt) &&
850 this.verified == other.verified &&
851 Objects.equals(this.preview, other.preview) &&

Callers 8

isFilteredMethod · 0.45
isSignedMethod · 0.45
isEncryptedMethod · 0.45
isVerifiableMethod · 0.45
isUnlockedMethod · 0.45
isForwarderMethod · 0.45
getSubjectMethod · 0.45
getSwipeTypeMethod · 0.45

Calls 2

equalMethod · 0.95
equalMethod · 0.95

Tested by

no test coverage detected