Skip to content

Commit

Permalink
Merge pull request apache#77 from now-raymond/array
Browse files Browse the repository at this point in the history
Make array declaration in ThresholdingOutputStream consistent with other array declarations in the library
  • Loading branch information
garydgregory authored Apr 14, 2019
2 parents 9bb3481 + 8b38e21 commit a9e8244
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void write(final int b) throws IOException
* @throws IOException if an error occurs.
*/
@Override
public void write(final byte b[]) throws IOException
public void write(final byte[] b) throws IOException
{
checkThreshold(b.length);
getStream().write(b);
Expand All @@ -121,7 +121,7 @@ public void write(final byte b[]) throws IOException
* @throws IOException if an error occurs.
*/
@Override
public void write(final byte b[], final int off, final int len) throws IOException
public void write(final byte[] b, final int off, final int len) throws IOException
{
checkThreshold(len);
getStream().write(b, off, len);
Expand Down

0 comments on commit a9e8244

Please sign in to comment.