From be1c5c789c9d8cfed7e16137268159628eeea191 Mon Sep 17 00:00:00 2001 From: Marja van Aken Date: Wed, 29 Nov 2023 10:56:31 +0100 Subject: [PATCH] #405: Improve javadoc of Slice getData method. Co-authored-by: Carly-1 <75033199+Carly-1@users.noreply.github.com> --- core/src/main/java/io/parsingdata/metal/data/Slice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/parsingdata/metal/data/Slice.java b/core/src/main/java/io/parsingdata/metal/data/Slice.java index 3cf79935..7c08f617 100644 --- a/core/src/main/java/io/parsingdata/metal/data/Slice.java +++ b/core/src/main/java/io/parsingdata/metal/data/Slice.java @@ -64,7 +64,7 @@ public byte[] getData(final BigInteger limit) { /** * Return a part of the data specified by the offset and limit. * @param offset the offset to start reading the slice from - * @param limit the maximum number of bytes returned. Less bytes are returned if the end of slice is reached. + * @param limit the maximum number of bytes returned. Fewer bytes are returned if the end of slice is reached. * @return a byte array representing the data. */ public byte[] getData(final BigInteger offset, final BigInteger limit) {