mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix
This commit is contained in:
parent
aeef8b9e8a
commit
884ac2e765
@ -52,6 +52,6 @@ public abstract class IoCopier<S, T> {
|
||||
* @return 缓存大小
|
||||
*/
|
||||
protected int bufferSize(long count) {
|
||||
return Math.min(this.bufferSize, (int)count);
|
||||
return (int)Math.min(this.bufferSize, count);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user