[ 
https://issues.apache.org/jira/browse/AMQ-9550?focusedWorklogId=940222&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-940222
 ]

ASF GitHub Bot logged work on AMQ-9550:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Oct/24 19:18
            Start Date: 25/Oct/24 19:18
    Worklog Time Spent: 10m 
      Work Description: kenliao94 commented on PR #1282:
URL: https://github.com/apache/activemq/pull/1282#issuecomment-2438629829

   @jbonofre Hey JB, could you take a quick look at this PR? Thanks.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 940222)
    Time Spent: 20m  (was: 10m)

> for loop can be replaced with enhanced for
> ------------------------------------------
>
>                 Key: AMQ-9550
>                 URL: https://issues.apache.org/jira/browse/AMQ-9550
>             Project: ActiveMQ Classic
>          Issue Type: Improvement
>            Reporter: ERASKIN ALEKSEI
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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 message was sent by Atlassian Jira
(v8.20.10#820010)

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