mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
18 lines
312 B
Java
18 lines
312 B
Java
// "Collapse 'if' statement" "true"
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
|
|
void test(int x) {
|
|
Runnable r = new Runnable() {
|
|
private final boolean field = x > 1;
|
|
|
|
@Override
|
|
public void run() {
|
|
System.out.println((x));
|
|
}
|
|
};
|
|
}
|
|
} |