This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 8b38e21 Refactor array declaration in ThresholdingOutputStream
new a9e8244 Merge pull request #77 from now-raymond/array
8b38e21 is described below
commit 8b38e21a880e3738c037322b11593921ff71b57f
Author: Raymond Tan <[email protected]>
AuthorDate: Sat Apr 13 13:31:03 2019 +0100
Refactor array declaration in ThresholdingOutputStream
---
.../java/org/apache/commons/io/output/ThresholdingOutputStream.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
index 4fe99f4..e312ac4 100644
--- a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
@@ -102,7 +102,7 @@ public abstract class ThresholdingOutputStream
* @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);
@@ -121,7 +121,7 @@ public abstract class ThresholdingOutputStream
* @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);