Skip to content

Commit 86912e3

Browse files
authored
Manifest: fix javadoc of method item() (#575)
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
1 parent c81b3bc commit 86912e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/xml/security/signature/Manifest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public int getLength() {
222222

223223
/**
224224
* Return the <i>i</i><sup>th</sup> reference. Valid <code>i</code>
225-
* values are 0 to <code>{link@ getSize}-1</code>.
225+
* values are 0 to <code>{@link #getLength()}-1</code>.
226226
*
227227
* @param i Index of the requested {@link Reference}
228228
* @return the <i>i</i><sup>th</sup> reference

0 commit comments

Comments
 (0)