DiamondOperatorForVariableDefinitionCheck: false-positives on anonymous classes #270

daniilyar opened this Issue Nov 6, 2014 · 0 comments


None yet

3 participants


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.

@alexkravin alexkravin was assigned by daniilyar Nov 6, 2014
@romani romani closed this Dec 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment