https://issues.apache.org/bugzilla/show_bug.cgi?id=52829

--- Comment #2 from Jarek Czekalski <[email protected]> 2012-03-09 
10:24:38 UTC ---
To add some background: FileSet.iterator() returns Object type. So one using
iterator() must do the conversion manually.

To make "for" loops more convenient you suggest that Iterable should return a
specific, more useful type. But it would be inconsistent with iterator(). I
don't mind it, just commenting.

If that's too difficult to choose the ideal Iterable type at the moment, you
could simply implement Iterable<Object>. I guess making a specialized Iterable
in the future would not break any code relying on Iterable<Object>.

Anyway I don't feel competent to make directions in this matter, so I'll switch
to a listening mode from now on.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to