mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
10 lines
250 B
Java
10 lines
250 B
Java
// "Apply conversion '.toArray(new java.util.List[0])'" "true-preview"
|
|
|
|
import java.util.*;
|
|
class Generic {
|
|
List<String>[] foo() {
|
|
Set<List<String>> set = new HashSet<>();
|
|
List<String>[] arr = set.toArray(new List[0]);
|
|
return arr;
|
|
}
|
|
} |