Class<?> is the closest equivalent to Class. It adds no burden at all
(people can still use the raw type if they wish to stay in the pre-5
era). And literally Class<?> means what you've described: "we can't
say anything about the Class type returned"
On 7 oct. 09, at 12:02, Galder Zamarreno wrote:
Hi,
I'm a bit concerned about the usage of Class<?> in
org.infinispan.util.ClassFinder because in pretty much all those
methods, we can't say anything about the Class type returned and by
keeping Class<?>, you're forcing clients to deal with generics that
don't add anything.
Thoughts?
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev