If all filters are null OR is empty...
This commit is contained in:
parent
83a61cae36
commit
c3ccfe001a
|
@ -117,9 +117,9 @@ public class BoolFilterParser implements FilterParser {
|
|||
}
|
||||
}
|
||||
|
||||
if ((boolFilter.getMustFilters() != null && boolFilter.getMustFilters().isEmpty())
|
||||
&& (boolFilter.getNotFilters() != null && boolFilter.getNotFilters().isEmpty())
|
||||
&& (boolFilter.getShouldFilters() != null && boolFilter.getShouldFilters().isEmpty())) {
|
||||
if ((boolFilter.getMustFilters() == null || boolFilter.getMustFilters().isEmpty())
|
||||
&& (boolFilter.getNotFilters() == null || boolFilter.getNotFilters().isEmpty())
|
||||
&& (boolFilter.getShouldFilters() == null || boolFilter.getShouldFilters().isEmpty())) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue