struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Cleans up code
Date Wed, 13 Nov 2019 07:43:57 GMT
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new c6bf6ed  Cleans up code
c6bf6ed is described below

commit c6bf6ed4d44222393860e356e885345f1ea30768
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Wed Nov 13 08:43:49 2019 +0100

    Cleans up code
---
 .../main/java/com/opensymphony/xwork2/DefaultActionInvocation.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java b/core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java
index e8e7bae..d8f0be4 100644
--- a/core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java
+++ b/core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java
@@ -64,7 +64,7 @@ public class DefaultActionInvocation implements ActionInvocation {
     protected Result explicitResult;
     protected String resultCode;
     protected boolean executed = false;
-    protected boolean pushAction = true;
+    protected boolean pushAction;
     protected ObjectFactory objectFactory;
     protected ActionEventListener actionEventListener;
     protected ValueStackFactory valueStackFactory;
@@ -243,7 +243,6 @@ public class DefaultActionInvocation implements ActionInvocation {
         if (asyncManager == null || !asyncManager.hasAsyncActionResult()) {
             if (interceptors.hasNext()) {
                 final InterceptorMapping interceptorMapping = interceptors.next();
-                String interceptorMsg = "interceptorMapping: " + interceptorMapping.getName();
                 Interceptor interceptor = interceptorMapping.getInterceptor();
                 if (interceptor instanceof WithLazyParams) {
                     interceptor = lazyParamInjector.injectParams(interceptor, interceptorMapping.getParams(),
invocationContext);
@@ -419,7 +418,6 @@ public class DefaultActionInvocation implements ActionInvocation {
 
         LOG.debug("Executing action method = {}", methodName);
 
-        String timerKey = "invokeAction: " + proxy.getActionName();
         try {
             Object methodResult;
             try {


Mime
View raw message