DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43905>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43905 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From [EMAIL PROTECTED] 2008-02-04 23:51 ------- Sadly, Nick Burch is mistaken. If you test the code sample "Iterate over rows and cells (including Java 5 foreach loops)" at http://poi.apache.org/hssf/quick- guide.html#Iterator, you will find that it generates a compiler error "Can only iterate over an array or an instance of java.lang.Iterable". (Was this tested before publishing?) For this to work, Noel Markham's original suggestion should be implemented. For HSSFSheet and HSSFRow to be Iterable, there must be a method called iterator(). Alternatively (and perhaps more logically), you could return Iterable data structures through HSSFSheet.rows() and HSSFRow.cells(). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
