You could :) Add @SuppressWarning on the method.
Regards, Edward Yakop On Mon, Jan 16, 2012 at 12:01, Rickard Öberg <[email protected]> wrote: > On 1/15/12 22:12 , Niclas Hedhman wrote: > >> I think Rickard is living on another planet sometimes... How about >> this fantastic line of code from CompositeAssemblyImpl >> >> ConstraintsModel constraints = constraintsFor( method, >> Iterables.<Class<? extends Constraint<?, ?>>, Iterable<Class<? extends >> Constraint<?, ?>>>>flatten( constraintDeclarations( >> mixinModel.mixinClass() ), constraintClasses ) ); >> >> >> Enjoy! >> > > :-) Yeah, it would have been nicer if it hadn't been for all the generics > stuff. > > /Rickard > > > > ______________________________**_________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/**mailman/listinfo/qi4j-dev<http://lists.ops4j.org/mailman/listinfo/qi4j-dev> > _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

