Skip to content

Commit

Permalink
Re-use existing local var.
Browse files Browse the repository at this point in the history
  • Loading branch information
broneill committed Jan 16, 2025
1 parent c9fdd96 commit b841c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/cojen/tupl/table/MergeScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static <R> Scanner<R> make(Comparator<R> c, Scanner<R>[] sources, int st
if (row2 == null) {
mCurrent = source1;
} else {
mCurrent = mComparator.compare(row1, row2) <= 0 ? source1 : source2;
mCurrent = c.compare(row1, row2) <= 0 ? source1 : source2;
}
}
}
Expand Down

0 comments on commit b841c1d

Please sign in to comment.