mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-121698 Automatically make variables accessed from outer scopes final
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class C{
|
||||
{
|
||||
Object o;
|
||||
final Object o;
|
||||
if (o instanceof Foo) {
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
|
||||
@@ -10,7 +10,7 @@ package codeInsight.completion.variables.locals;
|
||||
public class TestSource4 {
|
||||
int aaa = 0;
|
||||
public static void foo(){
|
||||
int abc = 0;
|
||||
final int abc = 0;
|
||||
class Inner1{
|
||||
int sbe=abc<caret>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user