mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
12 lines
244 B
Java
12 lines
244 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(p1.negate());
|
|
}
|
|
}
|
|
|