https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
Jesse Glick changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
--- Comment #6 from Jesse Glick 2012-03-26 20:26:43 UTC
---
Ah, I did not even notice that FileProvider is not assignable to Resource.
Even ignoring FileProvider for a moment, my fear about FileSet implements
Iterable was that the generic
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
--- Comment #5 from Matt Benson 2012-03-19 17:29:18 UTC ---
Hi all! Some observations:
1. Jesse's proposal, despite being a workable plan, felt to me at first read
like implementing generics in a "halfway" manner.
2. I haven't done an
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
--- Comment #4 from Stefan Bodewig 2012-03-18 19:50:21 UTC
---
FWIW, I'd prefer Iterable and as(FileProvider.class).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail bec
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
--- Comment #3 from Jesse Glick 2012-03-09 14:54:19 UTC
---
(In reply to comment #2)
> FileSet.iterator() returns Object type.
It returns (raw) Iterable today, the elements of which are in fact guaranteed
to be assignable to Resource. The
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
--- Comment #2 from Jarek Czekalski 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
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
Jesse Glick changed:
What|Removed |Added
CC||jgl...@netbeans.org
--- Comment #1 f