Skip to content
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

IMPROPER_UNICODE rule does not find equalsIgnoreCase usage when used as method reference #708

Open
Vampire opened this issue Jun 26, 2023 · 0 comments

Comments

@Vampire
Copy link
Contributor

Vampire commented Jun 26, 2023

Environment

Component Version
Gradle 8.1.1
Java 8.0.292.10
SpotBugs 4.7.3
FindSecBugs 1.12.0

Problem

IMPROPER_UNICODE rule does not find equalsIgnoreCase usage when used as method reference

Code

This is found:

anOptional.map(name -> "".equalsIgnoreCase(name))

This is not found:

anOptional.map(""::equalsIgnoreCase)
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

No branches or pull requests

1 participant