diff options
-rw-r--r-- | aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java b/aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java index 737abc1b6..93ba5cc6f 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java @@ -35,7 +35,7 @@ public class AjTypeSystem { */ public static <T> AjType<T> getAjType(Class<T> fromClass) { if (ajTypes.containsKey(fromClass)) { - WeakReference<AjType<T>> weakRefToAjType = (WeakReference<AjType<T>>) ajTypes.get(fromClass); + WeakReference<AjType> weakRefToAjType = ajTypes.get(fromClass); AjType<T> theAjType = weakRefToAjType.get(); if (theAjType != null) { return theAjType; |