Merge pull request #400 from fredericBregier/3
Damn ! Fix typo and type needed for fix #399 for issue #398 Sorry!
This commit is contained in:
commit
e8595e9d87
@ -292,8 +292,8 @@ public abstract class AbstractDiskHttpData extends AbstractHttpData {
|
||||
int chunkSize = 8196;
|
||||
long position = 0;
|
||||
while (position < size) {
|
||||
if (chunksize < size - position) {
|
||||
chunksize = size - position;
|
||||
if (chunkSize < size - position) {
|
||||
chunkSize = (int) (size - position);
|
||||
}
|
||||
position += in.transferTo(position, chunkSize , out);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user