From: aclement Date: Wed, 12 May 2010 21:11:25 +0000 (+0000) Subject: formatted X-Git-Tag: V1_6_9M2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4245893a0efebd1bc5c20b0bd5ac3ac668c89f93;p=aspectj.git formatted --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/CflowPointcut.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/CflowPointcut.java index 05ff2d824..6da40e523 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/CflowPointcut.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/CflowPointcut.java @@ -127,8 +127,9 @@ public class CflowPointcut extends Pointcut { } public boolean equals(Object other) { - if (!(other instanceof CflowPointcut)) + if (!(other instanceof CflowPointcut)) { return false; + } CflowPointcut o = (CflowPointcut) other; return o.entry.equals(entry) && o.isBelow == isBelow; } @@ -257,8 +258,9 @@ public class CflowPointcut extends Pointcut { // advice // ??? this means that we will store some state that we won't // actually use, optimize this later - if (!bindings.hasKey(freeVar)) + if (!bindings.hasKey(freeVar)) { continue; + } int formalIndex = bindings.get(freeVar); @@ -327,10 +329,11 @@ public class CflowPointcut extends Pointcut { private Object getCflowfield(CrosscuttingMembers xcut, Pointcut pcutkey, ResolvedType concreteAspect, String stackOrCounter) { String key = getKey(pcutkey, concreteAspect, stackOrCounter); Object o = null; - if (isBelow) + if (isBelow) { o = xcut.getCflowBelowFields().get(key); - else + } else { o = xcut.getCflowFields().get(key); + } // System.err.println("Retrieving for key "+key+" returning "+o); return o; }