Skip to content

Commit

Permalink
Update Assertions API
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed May 19, 2021
1 parent 6b3728b commit 7740e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/libj/io/ReaderInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void fillBuffer() throws IOException {
*/
@Override
public int read(final byte[] b, int off, int len) throws IOException {
Assertions.assertBoundsOffsetCount(b.length, off, len, "length", "off", "len");
Assertions.assertBoundsOffsetCount("b.length", b.length, "off", off, "len", len);
if (len == 0)
return 0;

Expand Down

0 comments on commit 7740e5f

Please sign in to comment.