Skip to content

Commit

Permalink
Use UncheckedIOException instead of RuntimeException
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Jan 4, 2025
1 parent d460518 commit 36f76ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/ipfs/cid/Cid.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private byte[] toBytesV1() {
super.serialize(res);
return res.toByteArray();
} catch (IOException e) {
throw new RuntimeException(e);
throw new UncheckedIOException(e);
}
}

Expand Down

0 comments on commit 36f76ca

Please sign in to comment.