From: aclement Date: Mon, 2 Nov 2009 16:46:36 +0000 (+0000) Subject: fast return for suppression X-Git-Tag: V1_6_7~176 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0f70ebcee38c89ef00254c18e897a16554c7cd97;p=aspectj.git fast return for suppression --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java b/weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java index a5ec39617..d544fb9e5 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java @@ -722,6 +722,7 @@ class BcelAdvice extends Advice { this.suppressedLintKinds = Utility.getSuppressedWarnings(signature.getAnnotations(), inWorld.getLint()); } else { this.suppressedLintKinds = Collections.emptyList(); + return; } } inWorld.getLint().suppressKinds(suppressedLintKinds);