]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/ExecutionAspect.java
Update license header
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / ExecutionAspect.java
index cdafe446d9a33727307ec9019049aad1893e1e94..14d134fb1d58fd1ce7a482f482bd8f25f00da825 100644 (file)
@@ -47,16 +47,12 @@ public class ExecutionAspect {
                executionContext.setVariable(ExecutionContext.VAR_FLOW_NAME,
                                executionFlow.getName());
 
-               if (log.isDebugEnabled())
-                       logStackEvent("=> ", executionFlow);
-
+               logStackEvent("=> ", executionFlow);
                try {
                        // Actually execute the flow
                        pjp.proceed();
                } finally {
-                       if (log.isDebugEnabled())
-                               logStackEvent("<= ", executionFlow);
-
+                       logStackEvent("<= ", executionFlow);
                        executionStack.leaveFlow(executionFlow);
                }
        }
@@ -95,7 +91,7 @@ public class ExecutionAspect {
                        log.debug(depthSpaces(stackSize) + symbol + executionFlow + " #"
                                        + executionStack.getCurrentStackLevelUuid() + ", depth="
                                        + stackSize);
-               else if (log.isDebugEnabled())
+               if (log.isDebugEnabled())
                        log.debug(depthSpaces(stackSize) + symbol + executionFlow);
        }