From e817beb188b7f4f97ea3cdec2e6cfac15905cd63 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 9 Apr 2008 22:44:32 +0000 Subject: [PATCH] dont generate garbage --- weaver/src/org/aspectj/weaver/UnresolvedType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/UnresolvedType.java b/weaver/src/org/aspectj/weaver/UnresolvedType.java index 817a07e1d..3c9c11324 100644 --- a/weaver/src/org/aspectj/weaver/UnresolvedType.java +++ b/weaver/src/org/aspectj/weaver/UnresolvedType.java @@ -856,7 +856,7 @@ public class UnresolvedType implements Traceable, TypeVariableDeclaringElement { } public UnresolvedType[] getTypeParameters() { - return typeParameters == null ? new UnresolvedType[0] : typeParameters; + return typeParameters == null ? UnresolvedType.NONE : typeParameters; } /** -- 2.39.5