mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
15 lines
211 B
Java
15 lines
211 B
Java
// "Reuse previous variable 'x'" "true-preview"
|
|
import java.io.*;
|
|
|
|
class X {
|
|
public void demo() {
|
|
final boolean x;
|
|
if (true) {
|
|
x = false;
|
|
} else {
|
|
boolean <caret>x = true;
|
|
}
|
|
}
|
|
}
|
|
|