mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
47bb3d8475
commit
c105e26db3
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
class Foo<T> {
|
||||
public Foo(Predicate<T> p) {
|
||||
}
|
||||
|
||||
void m(Predicate<String> p){
|
||||
new Foo<>(p == null ? null : acc -> p.test<error descr="'test(java.lang.String)' in 'java.util.function.Predicate' cannot be applied to '(java.lang.Object)'">(acc)</error>);
|
||||
new Foo<>(acc -> p.test<error descr="'test(java.lang.String)' in 'java.util.function.Predicate' cannot be applied to '(java.lang.Object)'">(acc)</error>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user