Skip to content

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Jan 27, 2024

The isSameField() method was changed in 84859d1 and the case when both arguments aren't fields was changed.
Reverted the change to fix FE_FLOATING_POINT_EQUALITY

@hazendaz
Copy link
Member

fixes #1097

@hazendaz hazendaz merged commit bb35934 into spotbugs:master Jan 27, 2024
@hazendaz hazendaz self-assigned this Jan 27, 2024
@hazendaz hazendaz added this to the SpotBugs 4.8.4 milestone Jan 27, 2024
PatrikScully pushed a commit to PatrikScully/spotbugs that referenced this pull request Jun 14, 2024
* test: reproducer for issue spotbugs#1097

* fix: handle the case when items aren't field in FindFloatEquality

Fixes spotbugs#1097
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants