Update SortFieldList.java

The subexpressions between `||` are equal. Looks like this should be `getNullsLast()`.
This commit is contained in:
Rijnard van Tonder 2016-02-01 23:29:07 -05:00
parent 4b210ff417
commit b01c34f070

View File

@ -95,7 +95,7 @@ class SortFieldList extends QueryPartList<SortField<?>> {
final boolean nulls() {
for (SortField<?> field : this)
if (((SortFieldImpl<?>) field).getNullsFirst() ||
((SortFieldImpl<?>) field).getNullsFirst())
((SortFieldImpl<?>) field).getNullsLast())
return true;
return false;