Skip to content

Commit b487c9e

Browse files
committed
Remove useless comment.
E-mail thread subject "[IO] Provenance of copied code in InfiniteCircularInputStream": https://mail-archives.apache.org/mod_mbox/commons-dev/201811.mbox/%3CCACZkXPw-sd6FLHZseeZDsJ+297bqS6tGUGByiX3wYpmuAgtrfQ@mail.gmail.com%3E
1 parent 3ad22fe commit b487c9e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/org/apache/commons/io/input/InfiniteCircularInputStream.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ public InfiniteCircularInputStream(final byte[] repeatedContent) {
4545
@Override
4646
public int read() {
4747
position = (position + 1) % repeatedContent.length;
48-
return repeatedContent[position] & 0xff; // copied from
49-
// java.io.ByteArrayInputStream.read()
48+
return repeatedContent[position] & 0xff;
5049
}
5150

5251
}

0 commit comments

Comments
 (0)