This commit is contained in:
Looly 2021-08-12 00:02:45 +08:00
parent aeef8b9e8a
commit 884ac2e765

View File

@ -52,6 +52,6 @@ public abstract class IoCopier<S, T> {
* @return 缓存大小 * @return 缓存大小
*/ */
protected int bufferSize(long count) { protected int bufferSize(long count) {
return Math.min(this.bufferSize, (int)count); return (int)Math.min(this.bufferSize, count);
} }
} }