From ea2564d769bcea68ae45588da36dac20fab4affe Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 17 Aug 2016 15:40:24 +0200 Subject: [PATCH] Allows modify params on coping --- .../opensymphony/xwork2/config/entities/ResultTypeConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java b/core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java index bbed0e284..ff5259024 100644 --- a/core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java +++ b/core/src/main/java/com/opensymphony/xwork2/config/entities/ResultTypeConfig.java @@ -52,7 +52,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<>(orig.params); this.location = orig.location; }