Skip to content

Manifest: fix javadoc of method item()#575

Merged
coheigea merged 1 commit intoapache:mainfrom
rybak:manifest-javadoc-fix
Mar 6, 2026
Merged

Manifest: fix javadoc of method item()#575
coheigea merged 1 commit intoapache:mainfrom
rybak:manifest-javadoc-fix

Conversation

@rybak
Copy link
Contributor

@rybak rybak commented Mar 4, 2026

Minor documentation comment improvement. Details are in the commit message.

Method `getSize` doesn't exist, so replace a reference to it in
a documentation comment of method `item()` with `getLength`.
Fix the Javadoc syntax of `{@link ...}`, while we're here.

Originally noticed in the code imported into the openjdk repository:
https://github.com/openjdk/jdk/blob/master/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/signature/Manifest.java#L228-L229
@coheigea coheigea merged commit 86912e3 into apache:main Mar 6, 2026
3 checks passed
coheigea pushed a commit that referenced this pull request Mar 6, 2026
Method `getSize` doesn't exist, so replace a reference to it in
a documentation comment of method `item()` with `getLength`.
Fix the Javadoc syntax of `{@link ...}`, while we're here.

Originally noticed in the code imported into the openjdk repository:
https://github.com/openjdk/jdk/blob/master/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/signature/Manifest.java#L228-L229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants