Details
-
Type: Sub-task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: o.c.common.activate, o.c.common.compress, o.c.common.config, o.c.common.crypt, o.c.common.diff, o.c.common.history, o.c.common.icu, o.c.common.options, o.c.common.progress, o.c.common.util, o.c.common.xml, o.c.jsword.book, o.c.jsword.book.filter.gbf, o.c.jsword.book.filter.osis, o.c.jsword.book.filter.plaintext, o.c.jsword.book.filter.thml, o.c.jsword.book.install, o.c.jsword.book.readings, o.c.jsword.book.study, o.c.jsword.book.sword, o.c.jsword.index, o.c.jsword.passage, o.c.jsword.util, o.c.jsword.versification
-
Labels:None
Description
Use enhanced for loops instead of iterator where possible.
E.g.
Iterator i = x.iterator();
while (i.hasNext())
X a = (X) i.next();
Becomes:
for (X a : x)