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

DiamondOperatorForVariableDefinitionCheck: false-positives on anonymous classes #270

daniilyar opened this issue Nov 6, 2014 · 0 comments


Copy link

@daniilyar daniilyar commented Nov 6, 2014

DiamondOperatorForVariableDefinitionCheck warns on cases like below:

private Predicate<File> inputCsvFilesFilter = new Predicate<File>() {
    public boolean apply(File input) {
        return true;

but this case could nod be fixed by updating it to diamond operator usage.
Please review and fix Check logic and add case above to UTs to avoid such false-positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.