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 4dcc5a5fdd9d472722504732dc4ae2b1bf719424 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Fri Apr 11 15:55:18 2025 -0400 Javadoc --- .../commons/compress/harmony/unpack200/MetadataBandGroup.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/MetadataBandGroup.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/MetadataBandGroup.java index 518da527a..47c0a5ef2 100644 --- a/src/main/java/org/apache/commons/compress/harmony/unpack200/MetadataBandGroup.java +++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/MetadataBandGroup.java @@ -123,6 +123,13 @@ public MetadataBandGroup(final String type, final CpBands cpBands) { this.cpBands = cpBands; } + /** + * Gets a new Annotation. + * + * @param numPairs Number of pairs, matches the lengths of {@code elementNames} and {@code elementValues} in the new Annotation. + * @param type Type. + * @param namesIterator Iterates names to create pairs. + */ private Annotation getAnnotation(final CPUTF8 type, final int pairCount, final Iterator<CPUTF8> namesIterator) { final CPUTF8[] elementNames = new CPUTF8[pairCount]; final ElementValue[] elementValues = new ElementValue[pairCount];