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

   ### 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/218021465-c47ade0b-d09a-4ae0-99af-646bb2179a18.png)
   located at:
   
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/protos/BatchMessage.java
 line 1539
   analysis and explanation:
   This method uses an integer-based for loop to iterate over a java.util.List, 
by calling List.get(i) each time through the loop. The integer is not used for 
other reasons.
   
   
   ### Describe the solution you'd like
   
   It is better to use an iterator or foreach instead.
   
   ### 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: [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