Skip to content

Commit

Permalink
Add ognlAutoGrowthCollectionLimit constant to java config
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-m committed Mar 17, 2018
1 parent b492eaf commit 32af137
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -139,6 +139,7 @@ public class ConstantConfig {
private BeanConfig textProviderFactory;
private BeanConfig localizedTextProvider;
private Boolean disallowProxyMemberAccess;
private Integer ognlAutoGrowthCollectionLimit;

protected String beanConfToString(BeanConfig beanConf) {
return beanConf == null ? null : beanConf.getName();
Expand Down Expand Up @@ -266,6 +267,7 @@ public Map<String, String> getAllAsStringsMap() {
map.put(StrutsConstants.STRUTS_TEXT_PROVIDER_FACTORY, beanConfToString(textProviderFactory));
map.put(StrutsConstants.STRUTS_LOCALIZED_TEXT_PROVIDER, beanConfToString(localizedTextProvider));
map.put(StrutsConstants.STRUTS_DISALLOW_PROXY_MEMBER_ACCESS, Objects.toString(disallowProxyMemberAccess, null));
map.put(StrutsConstants.STRUTS_OGNL_AUTO_GROWTH_COLLECTION_LIMIT, Objects.toString(ognlAutoGrowthCollectionLimit, null));

return map;
}
Expand Down Expand Up @@ -1305,4 +1307,12 @@ public Boolean getDisallowProxyMemberAccess() {
public void setDisallowProxyMemberAccess(Boolean disallowProxyMemberAccess) {
this.disallowProxyMemberAccess = disallowProxyMemberAccess;
}

public Integer getOgnlAutoGrowthCollectionLimit() {
return ognlAutoGrowthCollectionLimit;
}

public void setOgnlAutoGrowthCollectionLimit(Integer ognlAutoGrowthCollectionLimit) {
this.ognlAutoGrowthCollectionLimit = ognlAutoGrowthCollectionLimit;
}
}

0 comments on commit 32af137

Please sign in to comment.