levrun opened a new pull request, #1260: URL: https://github.com/apache/activemq/pull/1260
Iteration over collections or arrays can be replaced with an enhanced for loop (foreach iteration syntax). ``` 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. ``` See more details why : https://docs.oracle.com/javase/8/docs/technotes/guides/language/foreach.html -- 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
