mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
251 B
Java
17 lines
251 B
Java
// "Copy 'i' to final temp variable" "true-preview"
|
|
import java.io.*;
|
|
|
|
class a {
|
|
void f() {
|
|
int i = 0;
|
|
final int finalI = i;
|
|
new Runnable() {
|
|
public void run() {
|
|
int ii = <caret>finalI;
|
|
}
|
|
};
|
|
i++;
|
|
}
|
|
}
|
|
|