Skip to content

Commit

Permalink
Add incorrect formatting for test
Browse files Browse the repository at this point in the history
  • Loading branch information
foster33 committed Nov 21, 2024
1 parent b3bc6f0 commit 6e6504c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,19 @@ public boolean hasNext() {
if (document != null) {
Key key;
if (keys.size() > 0) {


// use the last (most recent) key so a new iterator will know where to start
key = keys.get(keys.size() - 1);
} else {
} else {

key = document.getMetadata();
}
next = Maps.immutableEntry(key, document);
next = Maps.immutableEntry(key, document);
log.trace("hasNext {}", next);
groups.clear();
return true;

}

return false;
Expand Down

0 comments on commit 6e6504c

Please sign in to comment.