Minor update
- Removed generic stuff
This commit is contained in:
parent
de05016a6d
commit
646edbc3c4
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user