On 30/11/2011 15:06, Rémi Forax wrote:

Note that you can use clazz.asSubclass(Enum.class) instead of casting to the raw type Class, you will still have a warning but you will be not the one that have introduced a raw type :)
Your mail arrived just a few minutes after I did the hg push. The only thing about using asSubClass(Enum.class) is that it might not be as obvious to the reader. As you say it would result in a warning too but thanks for going through these changes too.

-Alan

Reply via email to