mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
java redundant cast: check erased context (IDEA-205885)
GitOrigin-RevId: 1dd464c7b8feba43181c9e60472170b2bbbaa72e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
38260907d1
commit
02d7164d3b
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.function.Predicate;
|
||||
class X<T> {
|
||||
void test(Predicate<String> p) {
|
||||
}
|
||||
void foo(X x) {
|
||||
x.test((Predicate<String>)e -> e.isEmpty());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user