diff options
author | Lars Vogel <Lars.Vogel@vogella.com> | 2017-01-25 17:05:19 +0100 |
---|---|---|
committer | Andrey Loskutov <loskutov@gmx.de> | 2017-01-25 12:40:59 -0400 |
commit | 71edc8bd6fc81a13235497cde0f7a213bbeffe15 (patch) | |
tree | 50307fa61c83430c0377a656c104955719359f2e | |
parent | 061d24f6d557b7bdfdf530c7a50f66d7bf422c07 (diff) | |
download | jgit-71edc8bd6fc81a13235497cde0f7a213bbeffe15.tar.gz jgit-71edc8bd6fc81a13235497cde0f7a213bbeffe15.zip |
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>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java | 6 | ||||
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java | 27 |
2 files changed, 27 insertions, 6 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java index 1caa35f13f..04973f180a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java +++ b/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 * pack files. + * + * @param inserter + * @param reader + * @param pack + * @param existing + * @throws IOException */ private void loosen(ObjectDirectoryInserter inserter, ObjectReader reader, PackFile pack, HashSet<ObjectId> existing) throws IOException { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java index ca70c4979e..a510431f37 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectoryInserter.java +++ b/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 - * true, write the loose object even if we already have it in the - * loose or packed ODB. + * Insert a loose object into the database. If createDuplicate is true, + * write the loose object even if we already have it in the loose or packed + * ODB. + * + * @param type + * @param data + * @param off + * @param len + * @param createDuplicate + * @return ObjectId + * @throws IOException */ private ObjectId insert( 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 - * true, write the loose object even if we already have it in the - * loose or packed ODB. + * Insert a loose object into the database. If createDuplicate is true, + * write the loose object even if we already have it in the loose or packed + * ODB. + * + * @param type + * @param len + * @param is + * @param createDuplicate + * @return ObjectId + * @throws IOException */ ObjectId insert(int type, long len, InputStream is, boolean createDuplicate) throws IOException { |