Allows modify params on coping

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/77017cd6
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/77017cd6
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/77017cd6

Branch: refs/heads/support-2-3
Commit: 77017cd677c209324a9253f005246eba606d80d4
Parents: 7d8c359
Author: Lukasz Lenart <lukaszlen...@apache.org>
Authored: Wed Aug 17 15:34:37 2016 +0200
Committer: Lukasz Lenart <lukaszlen...@apache.org>
Committed: Wed Aug 17 15:36:20 2016 +0200

----------------------------------------------------------------------
 .../com/opensymphony/xwork2/config/entities/ResultTypeConfig.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/77017cd6/xwork-core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java
----------------------------------------------------------------------
diff --git 
a/xwork-core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java
 
b/xwork-core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java
index 85ef023..4a45db4 100644
--- 
a/xwork-core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java
+++ 
b/xwork-core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java
@@ -50,7 +50,7 @@ public class ResultTypeConfig extends Located implements 
Serializable {
         this.name = orig.name;
         this.className = orig.className;
         this.defaultResultParam = orig.defaultResultParam;
-        this.params = orig.params;
+        this.params = new LinkedHashMap<String, String>(orig.params);
         this.location = orig.location;
     }
 

Reply via email to