pull/957/head
ag2s20150909 4 years ago
parent 57f95e1408
commit 8a9f742749
  1. 5
      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);
}

Loading…
Cancel
Save