Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/reduce/afterDisjunction.java

10 lines
232 B
Java

// "Replace with reduce()" "true"
import java.util.*;
public class Main {
public void testDisjunction() {
List<Boolean> booleans = new ArrayList<>();
boolean acc = booleans.stream().reduce(false, (a, b) -> a || b);
}
}