Project: Eclipse_Platform_UI
Bug 204754 [DataBinding] BeanObservableValueDecorator.equals method implementation is incorrect
Reported: 2007-09-26 22:35:47 | Status: resolved fixed

Build ID: I20070621-1340 Steps To Reproduce: The equals() method implementation is not reflexive (a.equals(a) returns false). The decorator is delegating the equals method to the decorated IObservableValue, but first it should check whether the other object to which the decorator is compared is another BeanObservableValueDecorator, if so delegate to check the equality of the decorated IObservableValue. More information:

Files changed in fix:
bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/internal/beans/BeanObservableListDecorator.java bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/internal/beans/BeanObservableSetDecorator.java bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/internal/beans/BeanObservableValueDecorator.java