diff options
author | jackdt@google.com <jackdt@google.com> | 2024-09-09 14:05:52 -0700 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2024-09-09 21:24:56 +0000 |
commit | 62d0b220c87d6b51de620418de0a86be7af274cb (patch) | |
tree | f7862f41f33b698762c230cbb1d486f447685585 /org.eclipse.jgit/src/org/eclipse/jgit | |
parent | e5d2898997462e0f2409c09497ab62c6cda2dbaf (diff) | |
download | jgit-62d0b220c87d6b51de620418de0a86be7af274cb.tar.gz jgit-62d0b220c87d6b51de620418de0a86be7af274cb.zip |
PackReverseIndex: Fix javadoc in position methods
Position in the API refers to reverse-index position
(offset order), not primary index position (sha1 order)
Change-Id: I7dbe314dac1b3a128dd1c4ed93b9be28fd0802cc
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndex.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndex.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndex.java index ef9753cd79..720a3bcbff 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndex.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndex.java @@ -75,20 +75,20 @@ public interface PackReverseIndex { throws CorruptObjectException; /** - * Find the position in the primary index of the object at the given pack + * Find the position in the reverse index of the object at the given pack * offset. * * @param offset * the pack offset of the object - * @return the position in the primary index of the object + * @return the position in the reverse index of the object */ int findPosition(long offset); /** - * Find the object that is in the given position in the primary index. + * Find the object that is in the given position in the reverse index. * * @param nthPosition - * the position of the object in the primary index + * the position of the object in the reverse index * @return the object in that position */ ObjectId findObjectByPosition(int nthPosition); |