mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
ReuseVariableDeclarationFix: support array initializers
GitOrigin-RevId: 2b384594722e9e8b92792336b9e39a1479e5e8d4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
568a40ae1c
commit
615388d9cb
@@ -0,0 +1,9 @@
|
||||
// "Reuse previous variable 'i' declaration" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f(int[] i) {
|
||||
i = new int[]{};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Reuse previous variable 'i' declaration" "true"
|
||||
import java.io.*;
|
||||
|
||||
class a {
|
||||
void f(int[] i) {
|
||||
int[] <caret>i = {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user