mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
test++
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import java.util.*;
|
||||
|
||||
class C {
|
||||
{
|
||||
Object[] array;
|
||||
|
||||
List l1 = newMethod(array);
|
||||
|
||||
List l2 = newMethod(getObjects());
|
||||
|
||||
System.out.println("l1 = " + l1 + ", l2 = " + l2);
|
||||
}
|
||||
|
||||
private List newMethod(Object[] array) {
|
||||
List l1 = new ArrayList(Arrays.asList(array));
|
||||
return l1;
|
||||
}
|
||||
|
||||
String[] getObjects() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user