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-compress.git

commit 4a404e33a677b6d5a2d5bcdb84ddd6ee85dda086
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Apr 11 09:40:05 2025 -0400

    Javadoc
---
 .../harmony/unpack200/bytecode/AnnotationsAttribute.java       | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java
 
b/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java
index 3a4e979f9..02ae4d9b7 100644
--- 
a/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java
+++ 
b/src/main/java/org/apache/commons/compress/harmony/unpack200/bytecode/AnnotationsAttribute.java
@@ -24,12 +24,12 @@
 import java.util.List;
 
 /**
- * Abstract superclass for Annotations attributes
+ * Abstracts Annotations attributes.
  */
 public abstract class AnnotationsAttribute extends Attribute {
 
     /**
-     * Class to represent the annotation structure for class file attributes
+     * Represents the annotation structure for class file attributes.
      */
     public static class Annotation {
 
@@ -79,6 +79,12 @@ public void resolve(final ClassConstantPool pool) {
             }
         }
 
+        /**
+         * Writes this instance to the given output stream.
+         *
+         * @param dos the output stream.
+         * @throws IOException if an I/O error occurs.
+         */
         public void writeBody(final DataOutputStream dos) throws IOException {
             dos.writeShort(typeIndex);
             dos.writeShort(numPairs);

Reply via email to