mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
guava inspection: negate isEmpty method conversion IDEA-154952
This commit is contained in:
@@ -10,6 +10,6 @@ class A {
|
||||
|
||||
List<Boolean> booleans = it.map(String::isEmpty).collect(Collectors.toList());
|
||||
|
||||
boolean empty = it.map(s -> s.trim()).map(input -> input.toCharArray()).skip(777).filter(input -> input.length != 10).findAny().isPresent();
|
||||
boolean empty = !it.map(s -> s.trim()).map(input -> input.toCharArray()).skip(777).filter(input -> input.length != 10).findAny().isPresent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user