leading LF(\n) and CR (\r) characters produces a diff #531
Labels
Comments
That's the way String.equals() works |
just saying,would it be wise to trim() before calling equals()? |
Maybe as an option |
fixed in release 3.3.0, see https://javers.org/release-notes/ for example: javersBuilder.registerValue(BigDecimal.class, (a,b) -> a.compareTo(b) == 0);
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When i compute diff of two strings(map values),i see that leading empty characters produce a diff.
is it the way that it should work,or is this a bug?
The text was updated successfully, but these errors were encountered: