Skip to content

Commit

Permalink
Fix potential NullPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
clorenz committed Jun 2, 2022
1 parent 8bca03b commit 1910860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public List<T> getContent() {
public String getExecutedSearchTerm() {
if (executedSearchTerm == null) {
// no changes on original searchTerm
return listRequest.getSearchTerm();
return listRequest != null ? listRequest.getSearchTerm() : null;
}
return executedSearchTerm;
}
Expand Down

0 comments on commit 1910860

Please sign in to comment.