You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Joern Kottmann (JIRA)" <de...@uima.apache.org> on 2018/12/04 10:26:00 UTC
[jira] [Created] (UIMA-5924) Refactor loops with Java 5 for each
loops
Joern Kottmann created UIMA-5924:
------------------------------------
Summary: 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
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)