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
Incorrect change reported for maps with array-typed values #546
Was trying to find an existing issue for this, but couldn't - might not have done a good job though! I'm working with your otherwise excellent library for comparing some kafka serialization classes I'm writing and found an odd behavior. One of the objects I'm comparing has a field of type
Let me know if I'm missing something obvious here, but I couldn't find anything. Thanks for your time.
Hi @neal-erickson , thanks for reporting. Looks like there is a problem with array.equals() in Java.
Looks like we should use Arrays.equals instead. We can do it, but still, since you have arrays nested in Maps, you will get only basic diff (Javers treats arrays as Values in this case)