You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/12/01 09:05:44 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #2336: [Enhancement] Method concatenates the result of a toString() call [ConsumeMessageConcurrentlyService]

Alonexc opened a new issue, #2336:
URL: https://github.com/apache/incubator-eventmesh/issues/2336

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://user-images.githubusercontent.com/91315508/205009914-2f272cea-d175-4610-86a6-95dbce77a1e7.png)
   located at:
   eventmesh-connector-plugin/eventmesh-connector-rocketmq/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java 346
   analysis and explanation:
   This method concatenates the output of a toString() call into a StringBuffer or StringBuilder. It is simpler just to pass the object you want to append to the append call, as that form does not suffer the potential for NullPointerExceptions, and is easier to read.
   
   
   ### Describe the solution you'd like
   
   Remove the .toString.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@eventmesh.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #2336: [Enhancement] Method concatenates the result of a toString() call [ConsumeMessageConcurrentlyService]

Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #2336: [Enhancement] Method concatenates the result of a toString() call [ConsumeMessageConcurrentlyService]
URL: https://github.com/apache/incubator-eventmesh/issues/2336


-- 
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: dev-unsubscribe@eventmesh.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org