mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
Not everything is actually wrapping. E.g., converting 'long' to 'int' via 'Math.toIntExact' is definitely not wrapping. The 'adapt' word looks more abstract and suitable for all the cases. GitOrigin-RevId: 33e56b6e16a0362598ac8e3fc92ef2808a77dbe0
13 lines
142 B
Java
13 lines
142 B
Java
// "Adapt argument using 'Math.toIntExact()'" "true"
|
|
|
|
public class Test {
|
|
void m(int i) {
|
|
|
|
}
|
|
|
|
void method() {
|
|
m(10<caret>L);
|
|
}
|
|
|
|
}
|