mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
9 lines
228 B
Java
9 lines
228 B
Java
// "Adapt argument using 'Math.toIntExact()'" "true-preview"
|
|
import java.util.*;
|
|
|
|
class Demo {
|
|
void test(List<?> list) {
|
|
List<Integer> intList2 = <caret>Collections.unmodifiableList(Collections.singletonList(123L));
|
|
}
|
|
}
|