Skip to content

Commit

Permalink
Fix signature of writingDocument(index)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-lawrey committed May 31, 2016
1 parent 01fda3f commit 51137a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -55,7 +55,7 @@ default void writeBytes(long index, Bytes<?> bytes) throws StreamCorruptedExcept
* @throws StreamCorruptedException the write failed is was unable to write the data at the
* given index.
*/
default DocumentContext writeDocument(int index) {
default DocumentContext writingDocument(long index) {
throw new UnsupportedOperationException();
}

Expand Down
Expand Up @@ -185,7 +185,7 @@ public DocumentContext writingDocument() throws UnrecoverableTimeoutException {
}

@Override
public DocumentContext writeDocument(int index) {
public DocumentContext writingDocument(long index) {
context.wire = acquireBufferWire();
context.wire.headerNumber(index);
return context;
Expand Down

0 comments on commit 51137a1

Please sign in to comment.