mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
12 lines
256 B
Java
12 lines
256 B
Java
// "Replace lambda expression with 'Pattern.negate()'" "true-preview"
|
|
import java.util.function.Predicate;
|
|
|
|
public class Main {
|
|
void foo(Predicate<? super String> p) {}
|
|
|
|
void bar(Predicate<? super String> p1) {
|
|
foo(t -> !<caret>p1.test(t));
|
|
}
|
|
}
|
|
|