Skip to content

Commit 8b38e21

Browse files
committed
Refactor array declaration in ThresholdingOutputStream
1 parent 41c73e3 commit 8b38e21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void write(final int b) throws IOException
102102
* @throws IOException if an error occurs.
103103
*/
104104
@Override
105-
public void write(final byte b[]) throws IOException
105+
public void write(final byte[] b) throws IOException
106106
{
107107
checkThreshold(b.length);
108108
getStream().write(b);
@@ -121,7 +121,7 @@ public void write(final byte b[]) throws IOException
121121
* @throws IOException if an error occurs.
122122
*/
123123
@Override
124-
public void write(final byte b[], final int off, final int len) throws IOException
124+
public void write(final byte[] b, final int off, final int len) throws IOException
125125
{
126126
checkThreshold(len);
127127
getStream().write(b, off, len);

0 commit comments

Comments
 (0)