From 8a9f742749f648f7dee8ea576dd82a0ed50c7cd1 Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Fri, 23 Apr 2021 10:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epublib/src/main/java/me/ag2s/epublib/util/IOUtil.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/epublib/src/main/java/me/ag2s/epublib/util/IOUtil.java b/epublib/src/main/java/me/ag2s/epublib/util/IOUtil.java index 7d01e37db..2117a8e0c 100644 --- a/epublib/src/main/java/me/ag2s/epublib/util/IOUtil.java +++ b/epublib/src/main/java/me/ag2s/epublib/util/IOUtil.java @@ -146,11 +146,6 @@ public class IOUtil { // public static void copy(InputStream in, OutputStream result) throws IOException { - int buffer=in.available(); - if(buffer>IOUtil.DEFAULT_BUFFER_SIZE||buffer==0){ - buffer=IOUtil.DEFAULT_BUFFER_SIZE; - } - Log.d(TAG,"buffer size:"+buffer); copy(in, result,DEFAULT_BUFFER_SIZE); }