6U-U9 opened a new pull request #4024:
URL: https://github.com/apache/rocketmq/pull/4024


   ## What is the purpose of the change
   Constant charset defined by String (for example, "UTF-8") can be replaced 
with the predefined StandardCharsets.UTF_8 code.
   The code after the fix may work faster, because the charset lookup becomes 
unnecessary.
   
   ## Brief changelog
   Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8
   


-- 
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]


Reply via email to