Issue 12998

OccurrenceFragmentedMessage's hashcode doesn't honour equals contract

12998
Reporter: omeyn
Assignee: omeyn
Type: Bug
Summary: OccurrenceFragmentedMessage's hashcode doesn't honour equals contract
Description: msg1.equals(msg2) but msg1.hashcode != msg2.hashcode. Appears to be problem with how hashcode of byte[] is calculated.
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-03-14 09:48:54.27
Updated: 2013-12-06 12:06:31.622
Resolved: 2013-03-14 10:44:41.492


Author: omeyn@gbif.org
Comment: fixed hashCode to use Arrays.hashCode(byte[]) in the 3 messages that contain byte[].
Created: 2013-03-14 10:44:41.623
Updated: 2013-03-14 10:44:41.623