mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
13 lines
268 B
Java
13 lines
268 B
Java
// "Replace loop with 'Arrays.fill()' method call" "true"
|
|
import java.util.function.*;
|
|
|
|
class Test {
|
|
|
|
private void testLambdas() {
|
|
Supplier[] arr = new Supplier[10];
|
|
for (<caret>int i = 0; i < arr.length; i++) {
|
|
arr[i] = () -> new int[10];
|
|
}
|
|
}
|
|
|
|
} |