Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/surroundWithArray/beforeArrayAlreadyPresent.java
Bas Leijdekkers ae1825cb0a java: surround with array quick-fix fixes
GitOrigin-RevId: 8c3e7bcf9d4423515c59b027eca3ca35b0a18ff1
2022-08-12 13:57:51 +00:00

13 lines
213 B
Java

// "Surround with array initialization" "false"
import java.util.List;
class X {
void x() {
List<String> l = of(new<caret> Integer[]{1});
}
static <E> List<E> of(E[] elements) {
return null;
}
}