From 646edbc3c4bf8482865ed6226c3d9d5e52aa7270 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sun, 12 Mar 2017 01:34:33 +0100 Subject: [PATCH] Minor update - Removed generic stuff --- src/com/tofvesson/reflection/SafeReflection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/tofvesson/reflection/SafeReflection.java b/src/com/tofvesson/reflection/SafeReflection.java index 8d60b96..8cc38bd 100644 --- a/src/com/tofvesson/reflection/SafeReflection.java +++ b/src/com/tofvesson/reflection/SafeReflection.java @@ -227,9 +227,9 @@ public final class SafeReflection { * @param c Class to get superclasses of. * @return List containing all superclasses. */ - public static List> getSupers(Class c){ - List> l = new ArrayList>(); - insertSupers((List>) l, c); + public static List> getSupers(Class c){ + List> l = new ArrayList>(); + insertSupers(l, c); return l; }