mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
49f4397ba0
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
18 lines
251 B
Java
18 lines
251 B
Java
// "Adapt using 'Math.toIntExact()'" "true-preview"
|
|
import java.util.function.*;
|
|
|
|
public class Test {
|
|
|
|
void m() {
|
|
|
|
LongToIntFunction fn = x -> {
|
|
if(x > 0) {
|
|
return x<caret>*2;
|
|
}
|
|
return 0;
|
|
};
|
|
|
|
}
|
|
|
|
}
|