Skip to content

Commit

Permalink
Merge pull request #37 from vorburger/UncheckedIOException
Browse files Browse the repository at this point in the history
Use UncheckedIOException instead of RuntimeException
  • Loading branch information
ianopolous authored Jan 4, 2025
2 parents 481a75c + 36f76ca commit 6ab1301
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 @@ -102,7 +102,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 6ab1301

Please sign in to comment.