From 78e7815193e6d7c8a1a6a644c66e98a3e1a6843b Mon Sep 17 00:00:00 2001 From: aclement Date: Sun, 22 Jun 2008 21:47:26 +0000 Subject: [PATCH] define empty array constant --- weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java index fbe738eeb..55e2741c8 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java +++ b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java @@ -155,6 +155,8 @@ public class ResolvedPointcutDefinition extends ResolvedMemberImpl { public static final ResolvedPointcutDefinition DUMMY = new ResolvedPointcutDefinition(UnresolvedType.OBJECT, 0, "missing", UnresolvedType.NONE, Pointcut.makeMatchesNothing(Pointcut.RESOLVED)); + + public static final ResolvedPointcutDefinition[] NO_POINTCUTS = new ResolvedPointcutDefinition[]{}; public void setPointcut(Pointcut pointcut) { this.pointcut = pointcut; -- 2.39.5