summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2017-12-21 09:46:55 -0500
committerDave Borowitz <dborowitz@google.com>2017-12-21 09:46:55 -0500
commit085d1f9599f6dae8fe90e2dd7df195d1c9736ec4 (patch)
treefcea56db63d1ba0153fc4f9bee31c4e95677ecee
parent43ef5dabf12fee8877c6d8fa07b26be766dca1ee (diff)
downloadjgit-085d1f9599f6dae8fe90e2dd7df195d1c9736ec4.tar.gz
jgit-085d1f9599f6dae8fe90e2dd7df195d1c9736ec4.zip
Make PackInserter public
The intent with the setCompressionLevel and checkExisting methods (which are already public) is for callers to be able to call them, but they can't do that if the class itself is not public. Change-Id: I014044fec3bfa1d33775500345efd60eb5d45bde
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackInserter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackInserter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackInserter.java
index e6139fdc04..ff959e8c95 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackInserter.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackInserter.java
@@ -99,7 +99,7 @@ import org.eclipse.jgit.util.sha1.SHA1;
* Object inserter that inserts one pack per call to {@link #flush()}, and never
* inserts loose objects.
*/
-class PackInserter extends ObjectInserter {
+public class PackInserter extends ObjectInserter {
/** Always produce version 2 indexes, to get CRC data. */
private static final int INDEX_VERSION = 2;