forked from KNEMC/KLALB
优化代码,性能暴涨
This commit is contained in:
@@ -7,6 +7,8 @@ import java.util.UUID;
|
||||
import org.kne.io.Task;
|
||||
|
||||
public class StreamBridge extends Task{
|
||||
private static final boolean debug =false;
|
||||
|
||||
protected InputStream in;
|
||||
protected OutputStream out;
|
||||
protected int blocksize=65535;
|
||||
@@ -41,6 +43,7 @@ public class StreamBridge extends Task{
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
if(debug)
|
||||
e.printStackTrace();
|
||||
}finally {
|
||||
/*if(fos!=null)
|
||||
|
||||
Reference in New Issue
Block a user