mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -92,8 +92,11 @@ public class ResponseBody implements HttpBody, Closeable {
|
||||
*
|
||||
* @return 响应内容bytes
|
||||
*/
|
||||
@SuppressWarnings("resource")
|
||||
@Override
|
||||
public byte[] getBytes() {
|
||||
// issue#IANZ38 同步数据到内存
|
||||
sync();
|
||||
return this.bodyStream.readBytes();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user