You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/04/05 05:47:12 UTC

[struts] 02/05: WW-4789 WW-3788 Removes duplicated value assignment

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch action-context-boost
in repository https://gitbox.apache.org/repos/asf/struts.git

commit fcdaffa01b14b1430cefa2b9c01bd546d6b8d75b
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Apr 4 09:13:50 2020 +0200

    WW-4789 WW-3788 Removes duplicated value assignment
---
 .../test/java/org/apache/struts2/result/ServletRedirectResultTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/src/test/java/org/apache/struts2/result/ServletRedirectResultTest.java b/core/src/test/java/org/apache/struts2/result/ServletRedirectResultTest.java
index 8267b4c..67cd45d 100644
--- a/core/src/test/java/org/apache/struts2/result/ServletRedirectResultTest.java
+++ b/core/src/test/java/org/apache/struts2/result/ServletRedirectResultTest.java
@@ -461,7 +461,6 @@ public class ServletRedirectResultTest extends StrutsInternalTestCase implements
         MockActionInvocation ai = new MockActionInvocation();
         ai.setInvocationContext(ac);
         ai.setResultCode("myResult");
-        ai.setInvocationContext(ac);
 
         ActionProxy mockActionProxy = createNiceMock(ActionProxy.class);
         ai.setProxy(mockActionProxy);