fix null-pointer exception in filter result

closes sk22#774
This commit is contained in:
sk 2023-08-27 13:52:31 +02:00
parent c6acd35ceb
commit 91bf1b277f
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ public class FilterResult extends BaseModel {
@Override
public void postprocess() throws ObjectValidationException {
super.postprocess();
if (filter != null) filter.postprocess();
if(filter!=null) filter.postprocess();
if(keywordMatches==null) keywordMatches=List.of();
}
}