]> source.dussan.org Git - aspectj.git/commitdiff
bug 128650: comment 16: creates less garbage
authoraclement <aclement>
Tue, 14 Mar 2006 15:58:29 +0000 (15:58 +0000)
committeraclement <aclement>
Tue, 14 Mar 2006 15:58:29 +0000 (15:58 +0000)
weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java

index 2e925b4440e3bed031651c7386cbeedafceb6071..22e426c7a718b750d6817cb048c4b9aaed6dabc4 100644 (file)
@@ -13,7 +13,6 @@
 
 package org.aspectj.weaver;
 
-import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
 
@@ -274,10 +273,7 @@ public class AsmRelationshipProvider {
                IProgramElement peNode = new ProgramElement(
                        shadow.toString(),
                        IProgramElement.Kind.CODE,
-                       peLoc,
-                       0,
-                       "",
-                       new ArrayList());
+                       peLoc,0,null,null);
                                
                peNode.setBytecodeName(shadowSig.getName());
                peNode.setBytecodeSignature(shadowSig.getSignature());