IOUtils#toByteArray: fix spelling of local variable name
MODIFY
src/main/java/org/apache/commons/io/IOUtils.java
src/main/java/org/apache/commons/io/IOUtils.java
@@ -818,10 +818,10 @@ public static BufferedInputStream buffer(final InputStream inputStream, int size
final byte[] data = new byte[size];
int offset = 0;
- int readed;
+ int read;
- while (offset < size && (readed = input.read(data, offset, size - offset)) != EOF) {
- offset += readed;
+ while (offset < size && (read = input.read(data, offset, size - offset)) != EOF) {
+ offset += read;
}
if (offset != size) {

IOUtils#toByteArray: fix spelling of local variable name