}
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;
}
// 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);
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;
}