Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cleydyr committed Apr 17, 2024
1 parent 864f821 commit fab8f46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void search(ExtendedRequest request, ExtendedResponse response) {

SearchDTO search = paginableRecordBO.search(searchQuery, request.getAuthorizationPoints());

if (search.size() == 0) {
if (search.isEmpty()) {
this.setMessage(ActionResult.WARNING, "cataloging.error.no_records_found");
}

Expand Down

0 comments on commit fab8f46

Please sign in to comment.