mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-23 14:31:48 +07:00
f988f89bbd
GitOrigin-RevId: eb15165f5034fa75de9c9af97fb2707a233e9fe5
15 lines
244 B
Java
15 lines
244 B
Java
// "Collapse into loop" "true"
|
|
class X {
|
|
void test() {
|
|
<caret>consume(() -> 1);
|
|
consume(() -> 2);
|
|
consume(() -> 3);
|
|
consume(() -> 4);
|
|
}
|
|
|
|
void consume(IntSupplier x) {}
|
|
|
|
interface IntSupplier {
|
|
int supply();
|
|
}
|
|
} |