mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 19:52:07 +07:00
GitOrigin-RevId: 60897925141f7c805fc154de413c287c89b99acc
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;
|
|
}
|
|
}
|
|
}
|
|
|