]> source.dussan.org Git - aspectj.git/commitdiff
dont generate garbage
authoraclement <aclement>
Wed, 9 Apr 2008 22:44:32 +0000 (22:44 +0000)
committeraclement <aclement>
Wed, 9 Apr 2008 22:44:32 +0000 (22:44 +0000)
weaver/src/org/aspectj/weaver/UnresolvedType.java

index 817a07e1d84b4efa3da4b2aaca89f8fe7a09d9fe..3c9c113245eedb3f0626961090656426f1b86dac 100644 (file)
@@ -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;
        }
        
        /**