struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [10/12] git commit: Removes optional valueKey to keep backward compatibility
Date Fri, 27 Jun 2014 11:06:55 GMT
Removes optional valueKey to keep backward compatibility


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

Branch: refs/heads/feature/WW-4295-localization
Commit: a2791a8305666859d6484098fb597f93c94908bc
Parents: 13269fa
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Fri Jun 27 12:55:13 2014 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Fri Jun 27 12:55:13 2014 +0200

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/components/ListUIBean.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/a2791a83/core/src/main/java/org/apache/struts2/components/ListUIBean.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/components/ListUIBean.java b/core/src/main/java/org/apache/struts2/components/ListUIBean.java
index c9f704a..1adfc2e 100644
--- a/core/src/main/java/org/apache/struts2/components/ListUIBean.java
+++ b/core/src/main/java/org/apache/struts2/components/ListUIBean.java
@@ -113,8 +113,6 @@ public abstract class ListUIBean extends UIBean {
         if (listValueKey != null) {
             listValueKey = stripExpressionIfAltSyntax(listValueKey);
             addParameter("listValueKey", listValueKey);
-        } else if (value instanceof Map) {
-            addParameter("listValueKey", "valueKey");
         }
 
         if (listValue != null) {


Mime
View raw message