Sometimes there are no filters.
This commit is contained in:
parent
a63a1be4b6
commit
33d2459538
1 changed files with 9 additions and 7 deletions
|
@ -111,17 +111,19 @@ public abstract class AbstractFilterOperation<E, O extends AbstractFilterOperati
|
|||
|
||||
@Override
|
||||
protected boolean isIdempotentOperation() {
|
||||
if (filters == null) {
|
||||
return super.isIdempotentOperation();
|
||||
}
|
||||
|
||||
return filters
|
||||
.stream()
|
||||
.anyMatch(
|
||||
filter -> {
|
||||
if (filter != null) {
|
||||
HelenusPropertyNode node = filter.getNode();
|
||||
if (node != null) {
|
||||
HelenusProperty prop = node.getProperty();
|
||||
if (prop != null) {
|
||||
return prop.isIdempotent();
|
||||
}
|
||||
HelenusPropertyNode node = filter.getNode();
|
||||
if (node != null) {
|
||||
HelenusProperty prop = node.getProperty();
|
||||
if (prop != null) {
|
||||
return prop.isIdempotent();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue