]> source.dussan.org Git - aspectj.git/commitdiff
oops! remove that bit.
authoraclement <aclement>
Thu, 8 Jun 2006 08:43:00 +0000 (08:43 +0000)
committeraclement <aclement>
Thu, 8 Jun 2006 08:43:00 +0000 (08:43 +0000)
weaver/src/org/aspectj/weaver/bcel/PoliceExtensionUse.java

index 186333ca06300c2d4d6c44cd840563c8c02d1aff..f10e8d123bea2cc1296ec43c5e55132f900d562d 100644 (file)
@@ -58,14 +58,6 @@ public class PoliceExtensionUse extends IdentityPointcutVisitor {
                                world.getMessageHandler().handleMessage(m);
                        }
                }
-               if (node.getKind()==Shadow.MethodExecution) {
-                       if (!world.isJoinpointTrivialEnabled() && 
-                           node.getSignature().getModifiers().concernedWithTriviality()) {
-                               IMessage m = MessageUtil.warn("Use of 'trivial' modifier in the execution() pointcut is not allowed without the option -Xjoinpoints:trivial", 
-                                               p.getSourceLocation());
-                               world.getMessageHandler().handleMessage(m);
-                       }
-               }
                return super.visit(node, data);
        }