mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
bring into scope: multiple vars in one declaration should be normalized (IDEA-62848 )
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Bring 'int j' into Scope" "true"
|
||||
class a {
|
||||
void foo() {
|
||||
int j;
|
||||
{
|
||||
int i;
|
||||
j = 10;
|
||||
}
|
||||
System.out.println(<caret>j); // invoke "bring 'int j' into scope" quickfix here
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Bring 'int j' into Scope" "true"
|
||||
class a {
|
||||
void foo() {
|
||||
{
|
||||
int i, j = 10;
|
||||
}
|
||||
System.out.println(<caret>j); // invoke "bring 'int j' into scope" quickfix here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user