mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
* added null handling so equals methods return false for null argument * replaced instanceof with getClass to force strict type equality * added @Override for equals and hashCode where missing * minor refactorings in equals methods to simplify and improve consistency * added missing hashCode for ListMessage based on equals definition Things that HAVE NOT changed: * set of attributes used for equality checking * hashCode calculation (except for added hashCode in ListMessage) * correlation between equals and hashCode * no new equals methods added