mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
do not warn about effectively final vars used in inner classes in java 8 (IDEA-91372)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "Make 'i' final" "false"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f() {
|
||||
int i = 0;
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
int ii = <caret>i;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user