mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-31 20:12:53 +07:00
13 lines
257 B
Java
13 lines
257 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testDisjunction() {
|
|
List<Boolean> booleans = new ArrayList<>();
|
|
boolean acc = false;
|
|
for <caret> (Boolean bool : booleans) {
|
|
acc |= bool;
|
|
}
|
|
}
|
|
} |