From 085d1f9599f6dae8fe90e2dd7df195d1c9736ec4 Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Thu, 21 Dec 2017 09:46:55 -0500 Subject: [PATCH] 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 --- .../org/eclipse/jgit/internal/storage/file/PackInserter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e6139fdc0..ff959e8c9 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;