]> source.dussan.org Git - jgit.git/commitdiff
CommitGraphWriter#createCoreChunks: Remove not-thrown exceptions 24/204524/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 22 Sep 2023 14:46:47 +0000 (16:46 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 22 Sep 2023 15:00:14 +0000 (17:00 +0200)
Change-Id: I0e6f32ed415dc3a0ccadbeae46c979c378ebb0fc

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java

index 0324ef6805990dc5fafff107b779de336c2c19a5..38ae02957d25a63aab82c45b4ed0462bad0055bc 100644 (file)
@@ -158,9 +158,8 @@ public class CommitGraphWriter {
                return Stats.from(bloomFilterChunks);
        }
 
-       private static List<ChunkHeader> createCoreChunks(int hashsz, GraphCommits graphCommits)
-                       throws MissingObjectException,
-                       IncorrectObjectTypeException, CorruptObjectException, IOException {
+       private static List<ChunkHeader> createCoreChunks(int hashsz,
+                       GraphCommits graphCommits) {
                List<ChunkHeader> chunks = new ArrayList<>();
                chunks.add(new ChunkHeader(CHUNK_ID_OID_FANOUT, GRAPH_FANOUT_SIZE));
                chunks.add(new ChunkHeader(CHUNK_ID_OID_LOOKUP,