Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes issue #809 where date search params get deleted upon resource update #810
The equals function in ResourceIndexedSearchParamDate doesn't work as expected when the Dates in a persistent entity are java.sql.Timestamp objects but the dates in a transient entity are java.util.Date objects. Given a pair of equivalent Date and Timestamp objects, Date.equals(Timestamp) will be true but Timestamp.equals(Date) will not be true.
Updating the equals and hashcode method to compare the underlying time value instead. Added tests.