This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch ISSUE7522 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 1df66d4f2d225af45861012f86b7d5d8c9508031 Author: HTHou <[email protected]> AuthorDate: Sat Oct 8 09:27:50 2022 +0800 [ISSUE-7522] Fix wrong annotation of BytesUtil.getByteN --- tsfile/src/main/java/org/apache/iotdb/tsfile/utils/BytesUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/utils/BytesUtils.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/utils/BytesUtils.java index cd05f10aed..bc0bff0b94 100644 --- a/tsfile/src/main/java/org/apache/iotdb/tsfile/utils/BytesUtils.java +++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/utils/BytesUtils.java @@ -739,7 +739,7 @@ public class BytesUtils { } /** - * get one bit in input byte. the offset is from low to high and start with 0<br> + * get one bit in input byte. the offset is from high to low and start with 0<br> * e.g.<br> * data:16(00010000), if offset is 4, return 1(000 "1" 0000) if offset is 7, return 0("0" * 0010000). @@ -758,7 +758,7 @@ public class BytesUtils { } /** - * set one bit in input byte. the offset is from low to high and start with index 0<br> + * set one bit in input byte. the offset is from high to low and start with index 0<br> * e.g.<br> * data:16(00010000), if offset is 4, value is 0, return 0({000 "0" 0000}) if offset is 1, value * is 1, return 18({00010010}) if offset is 0, value is 0, return 16(no change).
