mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
19 lines
402 B
Java
19 lines
402 B
Java
// "Copy 'a' to final temp variable" "true-preview"
|
|
public class DoubleTrouble {
|
|
public void test() {
|
|
int a = 1;
|
|
a = 2;
|
|
final int finalA = a;
|
|
class s {
|
|
public void run() {
|
|
new Runnable() {
|
|
public void run() {
|
|
System.out.println(<caret>finalA);
|
|
}
|
|
}.run();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|