Skip to content

Commit

Permalink
Updates comment per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanConfluent committed Jan 22, 2021
1 parent 55d3da3 commit fe21cfc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ public PullQueryRow pollNextRow() throws InterruptedException {

if (row != null) {
// The head becomes the next thing to process and the newly polled row becomes the head.
// The first time this is run, we'll always return null since we're keeping the row as the
// new head.
final PullQueryRow toProcess = head;
head = row;
return toProcess;
Expand Down

0 comments on commit fe21cfc

Please sign in to comment.