mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
18 lines
367 B
Java
18 lines
367 B
Java
// "Copy 'a' to final temp variable" "true-preview"
|
|
public class DoubleTrouble {
|
|
public void test() {
|
|
int a = 1;
|
|
a = 2;
|
|
class s {
|
|
public void run() {
|
|
new Runnable() {
|
|
public void run() {
|
|
System.out.println(<caret>a);
|
|
}
|
|
}.run();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|