Nicklas Nordborg wrote:

I think the proper solution is to change the method signature to:

   Authority[] getAuthorities(Class<? extends Authority> clazz);

Or maybe:

  <A extends Authority> A[] getAuthorities(Class<A> clazz);

/Nicklas

Reply via email to