Skip to content

Commit

Permalink
tiny improve
Browse files Browse the repository at this point in the history
Change-Id: I5ee00eab8808d2f0a447346cac785764369670b9
  • Loading branch information
javeme committed May 31, 2019
1 parent acba4ab commit aa98bbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ private Iterator<BackendEntry> betweenQuery(Id indexLabelId,
boolean keyMinEq) {
NavigableMap<Id, BackendEntry> rs = this.store();

E.checkArgument(!(keyMin == null && keyMax == null),
E.checkArgument(keyMin != null || keyMax != null,
"Please specify at least one condition");
if (keyMin == null) {
// Field value < keyMax
Expand Down

0 comments on commit aa98bbb

Please sign in to comment.