This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 7dc27cdc1de259656d0c09b4cffbffd706939680
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jan 9 15:29:44 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/util/ByteSequence.java | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/main/java/org/apache/bcel/util/ByteSequence.java 
b/src/main/java/org/apache/bcel/util/ByteSequence.java
index d485f3f1..048be4fe 100644
--- a/src/main/java/org/apache/bcel/util/ByteSequence.java
+++ b/src/main/java/org/apache/bcel/util/ByteSequence.java
@@ -47,15 +47,28 @@ public final class ByteSequence extends DataInputStream {
 
     private final ByteArrayStream byteStream;
 
+    /**
+     * Constructs a ByteSequence.
+     *
+     * @param bytes the byte array.
+     */
     public ByteSequence(final byte[] bytes) {
         super(new ByteArrayStream(bytes));
         byteStream = (ByteArrayStream) in;
     }
 
+    /**
+     * Gets the current index.
+     *
+     * @return the current index.
+     */
     public int getIndex() {
         return byteStream.getPosition();
     }
 
+    /**
+     * Unreads the last byte.
+     */
     void unreadByte() {
         byteStream.unreadByte();
     }

Reply via email to