]> source.dussan.org Git - jgit.git/commitdiff
WindowCursor: Fix parameter name in javadoc 30/1202330/1
authorNasser Grainawi <quic_nasserg@quicinc.com>
Tue, 8 Oct 2024 21:46:22 +0000 (14:46 -0700)
committerNasser Grainawi <quic_nasserg@quicinc.com>
Tue, 8 Oct 2024 22:00:12 +0000 (15:00 -0700)
This doc was copied from another where the parameter had a shorter name.

Change-Id: I6ae1afa525f02e26ab7224cced56db946f679bb8
Signed-off-by: Nasser Grainawi <quic_nasserg@quicinc.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java

index 01f514b939de0d9d579377c91ff37bfe84608db8..11c45471e41c57e79cdab7d28c965d1a94347c13 100644 (file)
@@ -205,7 +205,7 @@ final class WindowCursor extends ObjectReader implements ObjectReuseAsIs {
         * @param cnt
         *            number of bytes to copy. This value may exceed the number of
         *            bytes remaining in the window starting at offset
-        *            <code>pos</code>.
+        *            <code>position</code>.
         * @return number of bytes actually copied; this may be less than
         *         <code>cnt</code> if <code>cnt</code> exceeded the number of bytes
         *         available.