From: aclement Date: Wed, 9 Apr 2008 22:44:32 +0000 (+0000) Subject: dont generate garbage X-Git-Tag: V1_6_0rc1~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e817beb188b7f4f97ea3cdec2e6cfac15905cd63;p=aspectj.git dont generate garbage --- 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; } /**