summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2009-11-02 16:46:36 +0000
committeraclement <aclement>2009-11-02 16:46:36 +0000
commit0f70ebcee38c89ef00254c18e897a16554c7cd97 (patch)
tree2e57880211d250606467adad89dffc51c880e44f /weaver
parentfff77228eb2ae9b22aef5bdf9254ed188d963546 (diff)
downloadaspectj-0f70ebcee38c89ef00254c18e897a16554c7cd97.tar.gz
aspectj-0f70ebcee38c89ef00254c18e897a16554c7cd97.zip
fast return for suppression
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java1
1 files changed, 1 insertions, 0 deletions
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);