Skip to content

Commit c52aa52

Browse files
committed
Format tweak
1 parent 872db15 commit c52aa52

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/test/java/org/apache/commons/io/input/NullInputStreamTest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,21 @@ private static final class TestNullInputStream extends NullInputStream {
3636
public TestNullInputStream(final int size) {
3737
super(size);
3838
}
39+
3940
public TestNullInputStream(final int size, final boolean markSupported, final boolean throwEofException) {
4041
super(size, markSupported, throwEofException);
4142
}
43+
4244
@Override
4345
protected int processByte() {
44-
return (int)getPosition() - 1;
46+
return (int) getPosition() - 1;
4547
}
48+
4649
@Override
4750
protected void processBytes(final byte[] bytes, final int offset, final int length) {
48-
final int startPos = (int)getPosition() - length;
51+
final int startPos = (int) getPosition() - length;
4952
for (int i = offset; i < length; i++) {
50-
bytes[i] = (byte)(startPos + i);
53+
bytes[i] = (byte) (startPos + i);
5154
}
5255
}
5356

0 commit comments

Comments
 (0)