Hi,
DomainObjectCollection<T> {
<S extends T> DomainObjectCollection<S> withType(Class<S>) {}
}
This generic signature is not right. It doesn't allow creating a filtered set
by an interface. My use case was…
tasks.withType(JavaForkOptions) {
}
But this doesn't work.
Do we want to fix this? If so, how the hell do we do so in a backwards
compatible way?
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com
Join me at the Gradle Summit 2013, June 13th and 14th in Santa Clara, CA:
http://www.gradlesummit.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email