You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Senrian (via GitHub)" <gi...@apache.org> on 2026/03/03 00:33:53 UTC

[PR] [refactor] Use Collections.emptyMap() instead of new HashMap<>() for better code quality [rocketmq]

Senrian opened a new pull request, #10152:
URL: https://github.com/apache/rocketmq/pull/10152

   Replace empty map instantiations with Collections.emptyMap() which is:
   - More readable and intentional
   - Immutable and safer
   - Slightly more performant
   
   Signed-off-by: Senrian


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org