aboutsummaryrefslogtreecommitdiffstats
path: root/aspectj5rt
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-28 10:50:20 +0000
committeracolyer <acolyer>2005-11-28 10:50:20 +0000
commit0ae3db5f546d5e050183dec343449ced2f936a2a (patch)
treee02b95deb0c44ef06e66f59a884fd057e83d66ba /aspectj5rt
parent9fbd6fcb28199ebe2f03332691ddf887493f87f4 (diff)
downloadaspectj-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.java2
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;