OPM_OVERLY_PERMISSIVE_METHOD in SpotBugs 3.1.12 just told me I should make equalsprotected, which of course would be invalid.
The class is package-private which triggers the bug I think.
The same false-positive happens with record accessors in Java 21: the plugin asks me to reduce their visibility, even though component accessors are required to be public.
OPM_OVERLY_PERMISSIVE_METHOD
in SpotBugs 3.1.12 just told me I should makeequals
protected
, which of course would be invalid. The class is package-private which triggers the bug I think.Originally reported at spotbugs/spotbugs#1055