mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
afterAnyMatchAssignmentBooleanInverted: fixed after automatic simplification
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ import java.util.List;
|
||||
|
||||
public class Main {
|
||||
public void testAssignment(List<String> data) {
|
||||
boolean found = !data.stream().map(String::trim).anyMatch(trimmed -> !trimmed.isEmpty());
|
||||
boolean found = data.stream().map(String::trim).allMatch(trimmed -> trimmed.isEmpty());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user