mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-07 05:40:23 +07:00
13 lines
252 B
Java
13 lines
252 B
Java
// "Replace Stream API chain with loop" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void test(List<Integer> list) {
|
|
boolean x = !list.stream().all<caret>Match(i -> i > 2);
|
|
if(x) {
|
|
System.out.println("found");
|
|
}
|
|
}
|
|
}
|