levrun opened a new pull request, #1282:
URL: https://github.com/apache/activemq/pull/1282

   What problems does this PR solve?
   ```
   Iteration over collections or arrays  can be replaced with an enhanced for 
loop (foreach iteration syntax). 
   See more details why : 
https://docs.oracle.com/javase/8/docs/technotes/guides/language/foreach.html
   ```
   
   Why is it beneficial to merge into ActiveMQ?
   ```
   The for-each construct gets rid of the clutter and the opportunity for error.
   When should you use the for-each loop? Any time you can. It really 
beautifies your code.
   ```
   
   How do you make sure this PR is well tested?
   run tests locally
   


-- 
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]
For further information, visit: https://activemq.apache.org/contact


Reply via email to