From 872312942b1d94fc759e81f7b8a882c2691fda7e Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 13 Nov 2009 18:28:54 +0000 Subject: [PATCH] minor --- weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java index c2c60a8e2..8c62a9777 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java @@ -378,8 +378,8 @@ public class BcelWorld extends World implements Repository { } } - public BcelObjectType buildBcelDelegate(ReferenceType resolvedTypeX, JavaClass jc, boolean exposedToWeaver) { - BcelObjectType ret = new BcelObjectType(resolvedTypeX, jc, exposedToWeaver); + public BcelObjectType buildBcelDelegate(ReferenceType type, JavaClass jc, boolean exposedToWeaver) { + BcelObjectType ret = new BcelObjectType(type, jc, exposedToWeaver); return ret; } @@ -438,7 +438,6 @@ public class BcelWorld extends World implements Repository { if (nameTypeX == null) { if (jc.isGeneric() && isInJava5Mode()) { - nameTypeX = ReferenceType.fromTypeX(UnresolvedType.forRawTypeName(jc.getClassName()), this); ret = buildBcelDelegate(nameTypeX, jc, true); ReferenceType genericRefType = new ReferenceType(UnresolvedType.forGenericTypeSignature(signature, ret -- 2.39.5