From: aclement Date: Wed, 21 Jan 2009 00:06:40 +0000 (+0000) Subject: remove unnecessary cast X-Git-Tag: pre268419~213 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f6189496590511249b927e5db8704549dd64b4e;p=aspectj.git remove unnecessary cast --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java index 1ed1ca608..5e8116859 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java @@ -612,9 +612,7 @@ public class BcelWorld extends World implements Repository { return; // We haven't heard of it yet if (!result.isExposedToWeaver()) return; // cant need resetting - ReferenceType rt = (ReferenceType) result; - rt.ensureConsistent(); - // rt.getDelegate().ensureDelegateConsistent(); + result.ensureConsistent(); // If we want to rebuild it 'from scratch' then: // ClassParser cp = new ClassParser(new // ByteArrayInputStream(newbytes),new String(cs));