mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
248 B
Java
14 lines
248 B
Java
import java.util.*;
|
|
|
|
class C {
|
|
{
|
|
Object[] o = null;
|
|
List l = newMethod(o);
|
|
|
|
List l1 = newMethod(new Object[0]);
|
|
}
|
|
|
|
private ArrayList newMethod(Object[] o) {
|
|
return new ArrayList(Arrays.asList(o));
|
|
}
|
|
} |