Skip to content

Commit c2c3a8f

Browse files
authored
Correct MessageUnpacker javadoc (#764)
1 parent c79ef24 commit c2c3a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ private static int utf8MultibyteCharacterSize(byte firstByte)
342342
}
343343

344344
/**
345-
* Returns true true if this unpacker has more elements.
345+
* Returns true if this unpacker has more elements.
346346
* When this returns true, subsequent call to {@link #getNextFormat()} returns an
347347
* MessageFormat instance. If false, next {@link #getNextFormat()} call will throw an MessageInsufficientBufferException.
348348
*
@@ -759,7 +759,7 @@ public void unpackNil()
759759
/**
760760
* Peeks a Nil byte and reads it if next byte is a nil value.
761761
*
762-
* The difference from {@link unpackNil} is that unpackNil throws an exception if the next byte is not nil value
762+
* The difference from {@link #unpackNil()} is that unpackNil throws an exception if the next byte is not nil value
763763
* while this tryUnpackNil method returns false without changing position.
764764
*
765765
* @return true if a nil value is read

0 commit comments

Comments
 (0)