Skip to content

Commit

Permalink
Nothing should be skipped when copying a b-tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
broneill committed Nov 14, 2024
1 parent d34ad9f commit 99b0e72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/cojen/tupl/core/BTreeCopier.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ public void await() throws IOException {

@Override
protected void skip(BTreeCursor source) throws IOException {
source.next();
// Nothing should be skipped.
throw new AssertionError();
}
}
}

0 comments on commit 99b0e72

Please sign in to comment.