I am going to check in this fix which affects almost all the domain
objects.  We have removed the equals and hashcode methods from every class
so objects will check the uuid for equality from the BaseOpenmrsObject
equals method.

Previously, object equality was usually based on id or other data so for
example, new User(1) would be equal to new User(1) or userList.contains(new
User(1)) might find a matching user.

This will not be true unless the objects have equal uuids so everyone should
be aware of that change.

Please keep an eye out for any issues that might need to be fixed.
Hopefully this will not cause too much trouble.

I don't want to be forever known as 'The guy that caused all those defects
with that one big check-in' :)

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to