mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
49f4397ba0
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
11 lines
144 B
Java
11 lines
144 B
Java
// "Adapt using 'Math.toIntExact()'" "true-preview"
|
|
public class Test {
|
|
|
|
void m(long l) {
|
|
|
|
int i = 10;
|
|
i = Math.toIntExact(l);
|
|
|
|
}
|
|
|
|
} |