mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
304 B
Java
17 lines
304 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
import java.util.*;
|
|
|
|
class C {
|
|
{
|
|
Object[] o = null;
|
|
List l = newMethod(o);
|
|
|
|
List l1 = newMethod(new Object[0]);
|
|
}
|
|
|
|
@NotNull
|
|
private ArrayList newMethod(Object[] o) {
|
|
return new ArrayList(Arrays.asList(o));
|
|
}
|
|
} |