]> source.dussan.org Git - jgit.git/commitdiff
[errorprone] PackWriter: Fix javadoc tag in new #writeIndex method 26/1203326/1
authorIvan Frade <ifrade@google.com>
Wed, 30 Oct 2024 22:36:09 +0000 (15:36 -0700)
committerIvan Frade <ifrade@google.com>
Wed, 30 Oct 2024 22:48:44 +0000 (15:48 -0700)
We introduced this method recently and the javadoc is not correct:

error: [InvalidInlineTag] This tag is invalid.
   @code{PackIndexWriter} instance to write the index

Change-Id: I34ed3d8b5a121fea9b8163627b46ae4a289c9462

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java

index 4c262b0e3a02d0e785dde4901ba441527cfe9439..f025d4e3d504e3d23cc28fb7592171d815ab7f9a 100644 (file)
@@ -59,9 +59,9 @@ import org.eclipse.jgit.errors.SearchForReuseTimeout;
 import org.eclipse.jgit.errors.StoredObjectRepresentationNotAvailableException;
 import org.eclipse.jgit.internal.JGitText;
 import org.eclipse.jgit.internal.storage.file.BasePackIndexWriter;
+import org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder;
 import org.eclipse.jgit.internal.storage.file.PackObjectSizeIndexWriter;
 import org.eclipse.jgit.internal.storage.file.PackReverseIndexWriter;
-import org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder;
 import org.eclipse.jgit.lib.AnyObjectId;
 import org.eclipse.jgit.lib.AsyncObjectSizeQueue;
 import org.eclipse.jgit.lib.BatchingProgressMonitor;
@@ -1113,7 +1113,7 @@ public class PackWriter implements AutoCloseable {
         * the network do not need to create an index.
         *
         * @param iw
-        *            an @code{PackIndexWriter} instance to write the index
+        *            an {@link PackIndexWriter} instance to write the index
         * @throws java.io.IOException
         *             the index data could not be written to the supplied stream.
         */