This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-thirdparty.git
The following commit(s) were added to refs/heads/master by this push:
new ffb2bb4 HBASE-29942 Addendum align the method name in ByteInput
interface
ffb2bb4 is described below
commit ffb2bb4c72b0742dbd67e0e9499050b1e6c13a12
Author: Duo Zhang <[email protected]>
AuthorDate: Fri Mar 6 14:46:32 2026 +0800
HBASE-29942 Addendum align the method name in ByteInput interface
---
hbase-shaded-protobuf/src/main/patches/HBASE-15789.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hbase-shaded-protobuf/src/main/patches/HBASE-15789.patch
b/hbase-shaded-protobuf/src/main/patches/HBASE-15789.patch
index e28bedb..4565a03 100644
--- a/hbase-shaded-protobuf/src/main/patches/HBASE-15789.patch
+++ b/hbase-shaded-protobuf/src/main/patches/HBASE-15789.patch
@@ -94,9 +94,9 @@ index 000000000..190aac07b
+ public abstract int read(int offset, ByteBuffer out);
+
+ /**
-+ * Get a long value from the given offset
++ * Reads a long value from the given offset.
+ */
-+ public abstract long getLong(int offset);
++ public abstract long readLong(int offset);
+
+ /**
+ * @return Total number of bytes in this ByteInput.
@@ -1069,7 +1069,7 @@ index 5abe89dc2..60a4de572 100644
+ // This simple loop stops when we encounter a byte >= 0x80 (i.e.
non-ASCII).
+ // To speed things up further, we're reading longs instead of bytes so we
use a mask to
+ // determine if any byte in the current long is non-ASCII.
-+ for (; i < lim && (buffer.getLong(i) & ASCII_MASK_LONG) == 0; i += 8) {}
++ for (; i < lim && (buffer.readLong(i) & ASCII_MASK_LONG) == 0; i += 8) {}
+ return i - index;
+ }
+