struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/3] struts git commit: Rename constants name use prefix "xwork"
Date Tue, 30 Aug 2016 06:32:46 GMT
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 <zhouyanming@gmail.com>
Authored: Mon Aug 1 18:01:16 2016 +0800
Committer: GitHub <noreply@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);
 	}


Mime
View raw message