captainbkarthick opened a new pull request, #1568:
URL: https://github.com/apache/incubator-eventmesh/pull/1568

   Fixes #<1537>.
   
   ### Motivation
   Integer-based for loop is used 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. It is better to use an Iterator instead, as depending on List 
implementation, iterators can perform better, and they also allow for 
exchanging of other collection types without issue.
   
   ### Modifications
   * Update existing integer based for loop with the enhanced for loop.
   
   ### Documentation
   
   - Does this pull request introduce a new feature? (yes / no) **No**
   - If yes, how is the feature documented? (not applicable / docs / JavaDocs / 
not documented) **NA**
   - If a feature is not applicable for documentation, explain why? **NA**
   - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation **NA**
   


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