CommitGraphWriter#createCoreChunks: Remove not-thrown exceptions

Change-Id: I0e6f32ed415dc3a0ccadbeae46c979c378ebb0fc
This commit is contained in:
Matthias Sohn 2023-09-22 16:46:47 +02:00
parent 2390a89f28
commit c57257bc01
1 changed files with 2 additions and 3 deletions

View File

@ -158,9 +158,8 @@ public Stats write(@NonNull ProgressMonitor monitor,
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,