From 7a4c059322f13dace12b8a3be5e8e4ee0cb088bc Mon Sep 17 00:00:00 2001 From: Nasser Grainawi Date: Tue, 8 Oct 2024 14:46:22 -0700 Subject: [PATCH] WindowCursor: Fix parameter name in javadoc This doc was copied from another where the parameter had a shorter name. Change-Id: I6ae1afa525f02e26ab7224cced56db946f679bb8 Signed-off-by: Nasser Grainawi --- .../org/eclipse/jgit/internal/storage/file/WindowCursor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java index 01f514b939..11c45471e4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java @@ -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 - * pos. + * position. * @return number of bytes actually copied; this may be less than * cnt if cnt exceeded the number of bytes * available. -- 2.39.5