-
Notifications
You must be signed in to change notification settings - Fork 7
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
[java] False positive for UseInstanceofToCompareClasses on local generic class #30
Comments
jsotuyod
changed the title
False positive for UseInstanceofToCompareClasses on local generic class
[java] False positive for UseInstanceofToCompareClasses on local generic class
Apr 8, 2019
This is actually an internal rule defined by us in our dogfood ruleset, so I move the issue here instead build-tools/src/main/resources/net/sourceforge/pmd/pmd-dogfood-config.xml Lines 515 to 533 in dc0c494
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UseInstanceofToCompareClasses reports on non-reifiable types, even though they're not acceptable as operand to
instanceof
. E.g.:The text was updated successfully, but these errors were encountered: