[ 
https://issues.apache.org/jira/browse/UIMA-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joern Kottmann updated UIMA-5924:
---------------------------------
    Attachment: uimaj-5924.patch

> Refactor loops with Java 5 for each loops
> -----------------------------------------
>
>                 Key: UIMA-5924
>                 URL: https://issues.apache.org/jira/browse/UIMA-5924
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Joern Kottmann
>            Priority: Minor
>         Attachments: uimaj-5924.patch
>
>
> In some places it looks nicer to use the Java5 for each loop instead of a 
> while or for loop. Lets only refactor the loops where there is a clear 
> advantage in readability, e.g. while iterator loop for collections, or for 
> loops which declare a loop variable in the first line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to