Skip to content

Commit 4db4636

Browse files
rybakcoheigea
authored andcommitted
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 e7fdf25 commit 4db4636

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
@@ -221,7 +221,7 @@ public int getLength() {
221221

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

0 commit comments

Comments
 (0)