-
Notifications
You must be signed in to change notification settings - Fork 271
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
#435 Fix zero with scale to boolean (main) #437
Conversation
@stevenylai I don't think this is the appropriate fix, as it doesn't really solve the: #435. |
It's a follow-up for #417 where the fix is to replace |
All good. I agree with you that there is a necessity to replace .equals() with .compareTo(). I just wanted to point out that it doesn't fix the issues referenced in your PR comment. #435 :) |
But I have a test |
@stevenylai I just did a bit more detailed review of the process (at first I thought that this method is not invoked during evaluation). I can see now that this is the proper fix. I apologize for the false information and thank you for providing the fix quickly. :) |
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.
Thanks, you were a little bit faster than me.
I have just one request: Can you not do the cast directly, but use the getNumberValue()
method, instead?
Quality Gate passedIssues Measures |
Fixes #435 in the main branch