Skip to content

Commit

Permalink
Merge pull request #2763 from atlanhq/feat/highlights-DG-721
Browse files Browse the repository at this point in the history
DG-721 Review Fixes
  • Loading branch information
arpit-at authored Jan 16, 2024
2 parents aea30b1 + 294ecda commit 84f075d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public double getScore() {
@Override
public Map<String, List<String>> getHighLights() {
Object highlight = this.hit.get("highlight");
if(Objects.isNull(highlight)) {
if(Objects.nonNull(highlight)) {
return (Map<String, List<String>>) highlight;
}
return new HashMap<>();
Expand Down

0 comments on commit 84f075d

Please sign in to comment.