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 1519e127c52e779ce5094b5a11618c21caa005fe Author: Gary Gregory <[email protected]> AuthorDate: Sat Jan 10 22:01:20 2026 -0500 Javadoc --- src/main/java/org/apache/bcel/classfile/Deprecated.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/bcel/classfile/Deprecated.java b/src/main/java/org/apache/bcel/classfile/Deprecated.java index d8c34dd7..901f7cb8 100644 --- a/src/main/java/org/apache/bcel/classfile/Deprecated.java +++ b/src/main/java/org/apache/bcel/classfile/Deprecated.java @@ -46,10 +46,12 @@ public final class Deprecated extends Attribute { } /** - * @param nameIndex Index in constant pool to CONSTANT_Utf8 - * @param length Content length in bytes - * @param bytes Attribute contents - * @param constantPool Array of constants + * Constructs a Deprecated attribute. + * + * @param nameIndex Index in constant pool to CONSTANT_Utf8. + * @param length Content length in bytes. + * @param bytes Attribute contents. + * @param constantPool Array of constants. */ public Deprecated(final int nameIndex, final int length, final byte[] bytes, final ConstantPool constantPool) { super(Const.ATTR_DEPRECATED, nameIndex, Args.require0(length, "Deprecated attribute length"), constantPool); @@ -113,6 +115,8 @@ public final class Deprecated extends Attribute { } /** + * Gets the data bytes. + * * @return data bytes. */ public byte[] getBytes() { @@ -120,7 +124,9 @@ public final class Deprecated extends Attribute { } /** - * @param bytes the raw bytes that represents this byte array + * Sets the data bytes. + * + * @param bytes the raw bytes that represents this byte array. */ public void setBytes(final byte[] bytes) { this.bytes = bytes;
