Skip to content

Commit

Permalink
Correct MessageUnpacker javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Sep 21, 2023
1 parent c79ef24 commit 56e94b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private static int utf8MultibyteCharacterSize(byte firstByte)
}

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

0 comments on commit 56e94b1

Please sign in to comment.