[jsword-devel] [JIRA] Created: (JS-143) Enhanced for loop
DM Smith (JIRA)
jira at crosswire.org
Tue Dec 7 06:44:32 MST 2010
Enhanced for loop
-----------------
Key: JS-143
URL: http://www.crosswire.org/bugs/browse/JS-143
Project: JSword
Issue Type: Sub-task
Components: 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
Affects Versions: 1.6
Reporter: DM Smith
Assignee: DM Smith
Fix For: 1.6.1
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.crosswire.org/bugs/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jsword-devel
mailing list