From d028886cd1b679b989eb1d1c2fc26e64b4444ec0 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Thu, 25 Feb 2016 20:29:38 +0100 Subject: [PATCH] Drops wrong arg passed to logger --- .../xwork2/interceptor/DefaultWorkflowInterceptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java index 9391f1f8d..e94c163b4 100644 --- a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java +++ b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java @@ -19,6 +19,7 @@ import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.ValidationAware; import com.opensymphony.xwork2.interceptor.annotations.InputConfig; +import com.opensymphony.xwork2.util.AnnotationUtils; import com.opensymphony.xwork2.util.logging.Logger; import com.opensymphony.xwork2.util.logging.LoggerFactory; @@ -176,7 +177,7 @@ public class DefaultWorkflowInterceptor extends MethodFilterInterceptor { resultName = ((ValidationWorkflowAware) action).getInputResultName(); if (LOG.isDebugEnabled()) { LOG.debug("Changing result name from [#0] to [#1] because of processing [#2] interface applied to [#3]", - currentResultName, resultName, InputConfig.class.getSimpleName(), ValidationWorkflowAware.class.getSimpleName(), action); + currentResultName, resultName, ValidationWorkflowAware.class.getSimpleName(), action); } } return resultName;