From 0f70ebcee38c89ef00254c18e897a16554c7cd97 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 2 Nov 2009 16:46:36 +0000 Subject: [PATCH] fast return for suppression --- weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5