Equals should return false for different subclasses that use same id · Issue #2 · wimdeblauwe/jpearl · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The equals methods of AbstractEntityId and AbstractEntity will currently return true for different subclasses if they have the same id value (E.g. they both use Long for example, and both are assigned the value 1).
This is not ok, we should consider different subclasses as different objects.
The text was updated successfully, but these errors were encountered:
The equals methods of
AbstractEntityId
andAbstractEntity
will currently return true for different subclasses if they have the same id value (E.g. they both useLong
for example, and both are assigned the value1
).This is not ok, we should consider different subclasses as different objects.
The text was updated successfully, but these errors were encountered: