diff options
author | aclement <aclement> | 2009-11-02 16:50:50 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-11-02 16:50:50 +0000 |
commit | f865a36a7b9a79d0a56b2f7645df73d3949dc258 (patch) | |
tree | cf59b43152a1ff85238e768ad6bc15978e218329 /weaver | |
parent | 11d21a49c805fab5624f5aa5e86714db40f10d52 (diff) | |
download | aspectj-f865a36a7b9a79d0a56b2f7645df73d3949dc258.tar.gz aspectj-f865a36a7b9a79d0a56b2f7645df73d3949dc258.zip |
generics
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index 575234d60..1743be01d 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -555,11 +555,10 @@ class BcelClassWeaver implements IClassWeaver { } // tidyup, reduce ongoing memory usage of BcelMethods that hang around - for (Iterator i = methodGens.iterator(); i.hasNext();) { - LazyMethodGen mg = (LazyMethodGen) i.next(); - BcelMethod bM = mg.getMemberView(); - if (bM != null) { - bM.wipeJoinpointSignatures(); + for (LazyMethodGen mg : methodGens) { + BcelMethod method = mg.getMemberView(); + if (method != null) { + method.wipeJoinpointSignatures(); } } |