Skip to content

Commit

Permalink
return empty instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase committed Oct 13, 2023
1 parent 074ccad commit 9507a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ public BytesRef toBytesRef() {

@Override
public BytesRefIterator iterator() {
return null;
return BytesRefIterator.EMPTY;
}

@Override
Expand Down

0 comments on commit 9507a49

Please sign in to comment.