PseudoFunctionStyleMethodInspection: detection of functional type improved

This commit is contained in:
Dmitry Batkovich
2015-07-02 18:45:40 +03:00
parent 227f4e9dd1
commit 4a3341e7bd
3 changed files with 28 additions and 43 deletions
@@ -6,9 +6,9 @@ import java.util.Collections;
class c {
void m() {
Iterables.f<caret>ind(Collections.emptyList(), new Predicate<Object>() {
Iterables.f<caret>ind(Collections.emptyList(), new Predicate<String>() {
@Override
public boolean apply(Object input) {
public boolean apply(String input) {
return true;
}
});