From 0ae3db5f546d5e050183dec343449ced2f936a2a Mon Sep 17 00:00:00 2001 From: acolyer Date: Mon, 28 Nov 2005 10:50:20 +0000 Subject: changing a generics cast - the eclipse compiler liked it, but javac on the build machine doesn't... --- aspectj5rt/java5-src/org/aspectj/lang/reflect/AjTypeSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aspectj5rt/java5-src/org/aspectj') 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 AjType getAjType(Class fromClass) { if (ajTypes.containsKey(fromClass)) { - WeakReference> weakRefToAjType = (WeakReference>) ajTypes.get(fromClass); + WeakReference weakRefToAjType = ajTypes.get(fromClass); AjType theAjType = weakRefToAjType.get(); if (theAjType != null) { return theAjType; -- cgit v1.2.3