Browse Source

Fixes Javadoc error in org.eclipse.jgit created with I59539ac

Adds the param information to the private method. These are generated
via tooltip to resolve the compile errors.

Bug: 511043
Change-Id: I9ba551978eab750326d1a067b296e3ae93925871
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
stable-4.7
Lars Vogel 8 years ago committed by Andrey Loskutov
parent
commit
71edc8bd6f
  1. 6
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
  2. 27
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java

6
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

@ -215,6 +215,12 @@ public class GC {
/** /**
* Loosen objects in a pack file which are not also in the newly-created * Loosen objects in a pack file which are not also in the newly-created
* pack files. * pack files.
*
* @param inserter
* @param reader
* @param pack
* @param existing
* @throws IOException
*/ */
private void loosen(ObjectDirectoryInserter inserter, ObjectReader reader, PackFile pack, HashSet<ObjectId> existing) private void loosen(ObjectDirectoryInserter inserter, ObjectReader reader, PackFile pack, HashSet<ObjectId> existing)
throws IOException { throws IOException {

27
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java

@ -90,9 +90,17 @@ class ObjectDirectoryInserter extends ObjectInserter {
} }
/** /**
* Insert a loose object into the database. If createDuplicate is * Insert a loose object into the database. If createDuplicate is true,
* true, write the loose object even if we already have it in the * write the loose object even if we already have it in the loose or packed
* loose or packed ODB. * ODB.
*
* @param type
* @param data
* @param off
* @param len
* @param createDuplicate
* @return ObjectId
* @throws IOException
*/ */
private ObjectId insert( private ObjectId insert(
int type, byte[] data, int off, int len, boolean createDuplicate) int type, byte[] data, int off, int len, boolean createDuplicate)
@ -113,9 +121,16 @@ class ObjectDirectoryInserter extends ObjectInserter {
} }
/** /**
* Insert a loose object into the database. If createDuplicate is * Insert a loose object into the database. If createDuplicate is true,
* true, write the loose object even if we already have it in the * write the loose object even if we already have it in the loose or packed
* loose or packed ODB. * ODB.
*
* @param type
* @param len
* @param is
* @param createDuplicate
* @return ObjectId
* @throws IOException
*/ */
ObjectId insert(int type, long len, InputStream is, boolean createDuplicate) ObjectId insert(int type, long len, InputStream is, boolean createDuplicate)
throws IOException { throws IOException {

Loading…
Cancel
Save