mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-12 04:36:59 +07:00
IDEA-347171 False positive from List.of intention GitOrigin-RevId: 0eb4b04ad3134c2a74f07d84e96286d8eeb50cce
9 lines
233 B
Java
9 lines
233 B
Java
// "Replace with 'List.of()' call" "false"
|
|
import java.util.*;
|
|
|
|
class Cls {
|
|
void test() {
|
|
String[] array = new String[]{ "a", null, "c" };
|
|
List<String> list = Collections.<caret>unmodifiableList(Arrays.asList(array));
|
|
}
|
|
} |