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
diamond operator check gives false positive #1242
Comments
@pnatashap can you try to help? |
@yegor256 thanks for the report, but here some unclear moments:
Please fix the bug report in order it to get resolved faster. |
@yegor256 looks like this issue is solved in PMD 7 (they move rule to java code from XSL) https://github.com/pmd/pmd/blob/master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/UseDiamondOperatorRule.java |
This is the code:
Qulice complains with
PMD.UseDiamondOperator
andDiamondOperatorCheck
. However, I can't turnMapOf<String, String>
intoMapOf<>
, because it won't compile. Can we do something about this?The text was updated successfully, but these errors were encountered: