diff options
author | acolyer <acolyer> | 2005-11-28 10:50:20 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-11-28 10:50:20 +0000 |
commit | 0ae3db5f546d5e050183dec343449ced2f936a2a (patch) | |
tree | e02b95deb0c44ef06e66f59a884fd057e83d66ba /aspectj5rt | |
parent | 9fbd6fcb28199ebe2f03332691ddf887493f87f4 (diff) | |
download | aspectj-0ae3db5f546d5e050183dec343449ced2f936a2a.tar.gz aspectj-0ae3db5f546d5e050183dec343449ced2f936a2a.zip |
changing a generics cast - the eclipse compiler liked it, but javac on the build machine doesn't...
Diffstat (limited to 'aspectj5rt')
-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; |