mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
10 lines
192 B
Java
10 lines
192 B
Java
class XXX {
|
|
void foo() {
|
|
int k = 0;
|
|
int n = 2;
|
|
Runnable r = ()->{
|
|
<error descr="Variable used in lambda expression should be effectively final">k</error> = n;
|
|
};
|
|
}
|
|
}
|