mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
9 lines
176 B
Java
9 lines
176 B
Java
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
class Foo {
|
|
|
|
static void foo(List<String> ls) {
|
|
List<String> ls2 = Arrays.asList(ls.toArray(new String[0])<caret>);
|
|
}
|
|
} |