From 56e94b1460f20f5ef97c903e94179c11dd4e3a66 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 21 Sep 2023 21:03:49 +0900 Subject: [PATCH] Correct MessageUnpacker javadoc --- .../src/main/java/org/msgpack/core/MessageUnpacker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java b/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java index 8da8d794..5a9a1a63 100644 --- a/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java +++ b/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java @@ -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. * @@ -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