去除注释,第三方jar已修改添加File参数字节算错bug

This commit is contained in:
zengfantian 2015-01-27 12:35:32 +08:00
parent af1abf50f7
commit 97ed52daa9
1 changed files with 0 additions and 1 deletions

View File

@ -184,7 +184,6 @@ public abstract class ToolHTTP {
Object value = entity.getValue();
if (value instanceof File) {
try {
//params.put((String) key, (File) value);用不了 AsyncHttp算错字节少了
params.put((String) key, new FileInputStream((File) value),((File) value).getName());
} catch (FileNotFoundException e) {
throw new RuntimeException("文件不存在!", e);