diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 16:46:47 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 17:00:14 +0200 |
commit | c57257bc01555b5a0d179ede52f5e0933cfcae28 (patch) | |
tree | 6d76e24f08e9e064097725cd8fd102a37168adb9 | |
parent | 2390a89f2875c71a3310e74a03cad5aba202d1ec (diff) | |
download | jgit-c57257bc01555b5a0d179ede52f5e0933cfcae28.tar.gz jgit-c57257bc01555b5a0d179ede52f5e0933cfcae28.zip |
CommitGraphWriter#createCoreChunks: Remove not-thrown exceptions
Change-Id: I0e6f32ed415dc3a0ccadbeae46c979c378ebb0fc
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java index 0324ef6805..38ae02957d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java @@ -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, |