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