mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
14 lines
344 B
Java
14 lines
344 B
Java
// "Replace method call on lambda with lambda body" "true-preview"
|
|
|
|
import java.util.*;
|
|
import java.util.function.*;
|
|
|
|
public class Test {
|
|
public static void main(String[] args) {
|
|
List<String> list = new ArrayList<>();
|
|
if(list.isEmpty()) {
|
|
System.out.println("foo");
|
|
list.add("foo");
|
|
}
|
|
}
|
|
} |