]> source.dussan.org Git - aspectj.git/commitdiff
fast return for suppression
authoraclement <aclement>
Mon, 2 Nov 2009 16:46:36 +0000 (16:46 +0000)
committeraclement <aclement>
Mon, 2 Nov 2009 16:46:36 +0000 (16:46 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java

index a5ec396173e355b41705412d711cabcedff282e3..d544fb9e591c9ada8894687367c270a2f94c463f 100644 (file)
@@ -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);