mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-12 08:25:23 +07:00
15 lines
304 B
Java
15 lines
304 B
Java
// "Convert to local variables" "true-preview"
|
|
|
|
import java.util.*;
|
|
|
|
class Foo {
|
|
|
|
void test2() {
|
|
List<String> x1 = new ArrayList<>();
|
|
System.out.println(x1);
|
|
Runnable r = () -> {
|
|
List<String> x = new ArrayList<>(); // could be local
|
|
System.out.println(x);
|
|
};
|
|
}
|
|
} |