Project: Eclipse_Platform_UI
Bug 134856 [DataBinding] ValueDiff overrides Object.equals(Object) but not Object.hashCode()
Reported: 2006-04-04 16:07:32 | Status: resolved fixed

The javadoc for Object.hashCode() states: "If two objects are equal according to the <tt>equals(Object)</tt> method, then calling the <code>hashCode</code> method on each of the two objects must produce the same integer result." The other IDiff implementations don't override Object.equals(Object) so I assume ValueDiff shouldn't either.

Files changed in fix:
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/observable/value/ValueDiff.java