aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-03-19 16:55:35 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-03-20 08:28:03 +0900
commit901e663a66954c1f46ae0d3b605e8a12b4b86ee5 (patch)
tree679d3f6a185f92bb93d7c11a9c6a515845f3ff88
parent7f69c7e93d1c29071b9e9a1ce85a2aa4da26d4df (diff)
downloadjgit-901e663a66954c1f46ae0d3b605e8a12b4b86ee5.tar.gz
jgit-901e663a66954c1f46ae0d3b605e8a12b4b86ee5.zip
PackWriter: Fix Eclipse errors about missing Javadoc
Change If72b4b422 added a new method filterAndAddObject with a partial Javadoc, which causes errors in Eclipse. Since it's a private method, Javadoc is not strictly necessary, so just convert it to a standard comment block. Bug: 532540 Change-Id: I06aa79211d1223dccf6c931451ca885ca6d39cbc Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
index 8b16a2ecd7..490766b8f7 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
@@ -2072,14 +2072,11 @@ public class PackWriter implements AutoCloseable {
objectsMap.add(otp);
}
- /**
- * Adds the given object as an object to be packed, first performing
- * filtering on blobs at or exceeding a given size.
- *
- * @see #setFilterBlobLimit
- */
+ // Adds the given object as an object to be packed, first performing
+ // filtering on blobs at or exceeding a given size.
private void filterAndAddObject(@NonNull AnyObjectId src, int type,
int pathHashCode) throws IOException {
+
// Check if this object needs to be rejected, doing the cheaper
// checks first.
boolean reject = filterBlobLimit >= 0 &&