-
Notifications
You must be signed in to change notification settings - Fork 864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecation: replace calls to isEqualToComparingFieldByField #3042
Conversation
…).isEqualTo Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related to #2766
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending some reversal based on unit and integration tests.
@atoulme Q for you -
or this one which I think is the inverse of ^ |
Not sure I can help much here - equality works: These are different implementations of the Bytes object, one with a native byte array, and one with a ByteBuffer backing it. I am not sure what the effort here is, but if you try to compare the fields of the object, it won't work here. |
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
SonarCloud Quality Gate failed. |
…dger#3042) * replace isEqualToComparingFieldByField with usingRecursiveComparison().isEqualTo Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net> * isEqualTo() Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net> * revert ibft and qbft tests back to compareFieldByField Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net> * revert tests back to compareFieldByField Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
with usingRecursiveComparison().isEqualTo
Signed-off-by: Sally MacFarlane sally.macfarlane@consensys.net
Simple find and replace.
Changelog