caigy opened a new issue #3587:
URL: https://github.com/apache/rocketmq/issues/3587


   In method `private Long getLong(String s)` and `private Integer 
getInt(String s)` of  
`org.apache.rocketmq.broker.transaction.queue.TransactionalMessageServiceImpl`, 
a boxed numeric primitive is created from `String`, and then unboxed.
   
   For example, ` v = Integer.valueOf(s)` (`v` is of type `int`), it would be 
more efficient to use `Integer.parseInt()`, which returns a primitive value 
directly.
   


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