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 2016/08/30 06:32:46 UTC
[2/3] struts git commit: Rename constants name use prefix "xwork"
Rename constants name use prefix "xwork"
I think prefix "xwork" better than "struts"
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/c7fdf7ff
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/c7fdf7ff
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/c7fdf7ff
Branch: refs/heads/master
Commit: c7fdf7ffc5aa6744e9f3dc16c490aa0abc65f993
Parents: df72188
Author: Yanming Zhou <zh...@gmail.com>
Authored: Mon Aug 1 18:01:16 2016 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Aug 1 18:01:16 2016 +0800
----------------------------------------------------------------------
.../xwork2/ognl/accessor/XWorkListPropertyAccessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/c7fdf7ff/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java b/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java
index 72a6371..ca30f49 100644
--- a/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java
+++ b/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java
@@ -47,7 +47,7 @@ public class XWorkListPropertyAccessor extends ListPropertyAccessor {
private OgnlUtil ognlUtil;
private int autoGrowCollectionLimit = 255;
- @Inject(value="java.util.Collection.autoGrowCollectionLimit", required = false)
+ @Inject(value = "xwork.autoGrowCollectionLimit", required = false)
public void setAutoGrowCollectionLimit(String value) {
this.autoGrowCollectionLimit = Integer.valueOf(value);
}