mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
13 lines
337 B
Java
13 lines
337 B
Java
// "Replace method call on lambda with lambda body" "true-preview"
|
|
|
|
import java.util.function.Predicate;
|
|
|
|
public class Test {
|
|
public static void main(String[] args) {
|
|
while(true) {
|
|
System.out.println("hello");
|
|
if (!Collections.singleton("abc").contains("ab")) break;
|
|
System.out.println("hello");
|
|
}
|
|
}
|
|
} |