From 71edc8bd6fc81a13235497cde0f7a213bbeffe15 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Wed, 25 Jan 2017 17:05:19 +0100 Subject: [PATCH] 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 --- .../jgit/internal/storage/file/GC.java | 6 +++++ .../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 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 { -- 2.39.5