mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
14 lines
304 B
Java
14 lines
304 B
Java
// "Use 'setAll' method with functional argument" "false"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
int computeValue() {
|
|
return 0;
|
|
}
|
|
|
|
public void test(int[] arr) {
|
|
// Should not suggest setAll replacement as lambda might be called many times
|
|
Arrays.fill(arr, co<caret>mputeValue());
|
|
}
|
|
} |