mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
13 lines
202 B
Java
13 lines
202 B
Java
// "Adapt 2nd argument using 'Math.toIntExact()'" "true-preview"
|
|
public class Test {
|
|
|
|
void longMethod(int k, int thisIsInt) {
|
|
|
|
}
|
|
|
|
void m(long ll) {
|
|
longMethod(13, Math.toIntExact(ll));
|
|
}
|
|
|
|
}
|