mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 23:50:57 +07:00
10 lines
215 B
Java
10 lines
215 B
Java
// "Replace with 'Objects.requireNonNull(arr)'" "true-preview"
|
|
|
|
class MyClass {
|
|
void foo(String[] arr) {}
|
|
|
|
void test() {
|
|
String[] arr = Math.random() > 0.5 ? null : new String[10];
|
|
foo(ar<caret>r);
|
|
}
|
|
} |