mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
effectively final: check flow at variable start (IDEA-114737)
This commit is contained in:
@@ -114,4 +114,17 @@ class ParameterIsEffectivelyFinal {
|
||||
return 0;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class IDEA114737 {
|
||||
private void on(String propertyName) {
|
||||
if (!"taskServices".equals(propertyName)) {
|
||||
return;
|
||||
}
|
||||
java.util.List<String> newList = null;
|
||||
Comparable<String> c1 = o -> {
|
||||
System.out.println(newList);
|
||||
return 0;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user