mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
11 lines
149 B
Java
11 lines
149 B
Java
// "Adapt using 'Math.toIntExact()'" "true-preview"
|
|
public class Test {
|
|
|
|
void m() {
|
|
|
|
int i = Math.toIntExact(Long.valueOf(123));
|
|
|
|
}
|
|
|
|
}
|