zrlw commented on code in PR #15874:
URL: https://github.com/apache/dubbo/pull/15874#discussion_r2629241239


##########
dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/compressor/Bzip2.java:
##########
@@ -58,15 +58,11 @@ public byte[] compress(byte[] payloadByteArr) throws 
RpcException {
         }
 
         ByteArrayOutputStream out = new ByteArrayOutputStream();

Review Comment:
   ```out``` should be included in try-with-resources block.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to