Minor update

- Removed generic stuff
This commit is contained in:
Gabriel Tofvesson 2017-03-12 01:34:33 +01:00
parent de05016a6d
commit 646edbc3c4

View File

@ -227,9 +227,9 @@ public final class SafeReflection {
* @param c Class to get superclasses of. * @param c Class to get superclasses of.
* @return List containing all superclasses. * @return List containing all superclasses.
*/ */
public static <T> List<Class<? super T>> getSupers(Class<T> c){ public static List<Class<?>> getSupers(Class<?> c){
List<Class<? super T>> l = new ArrayList<Class<? super T>>(); List<Class<?>> l = new ArrayList<Class<?>>();
insertSupers((List<Class<?>>) l, c); insertSupers(l, c);
return l; return l;
} }