mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
237 B
Java
10 lines
237 B
Java
// "Make 'x' effectively final by moving initializer to the 'if' statement" "false"
|
|
class X {
|
|
void test(boolean a, int i) {
|
|
int x = i++;
|
|
if (a > i) {
|
|
x = 1;
|
|
}
|
|
Runnable r = () -> System.out.println(<caret>x);
|
|
}
|
|
} |