Repository: struts
Updated Branches:
  refs/heads/support-2-3 18bdc141e -> 15c79e139


WW-4575 Adds missing constants translation


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

Branch: refs/heads/support-2-3
Commit: dd369465732dfffdac6fb7cbc8ca83fee22b79f1
Parents: 18bdc14
Author: Lukasz Lenart <[email protected]>
Authored: Tue Jan 26 10:00:21 2016 +0100
Committer: Lukasz Lenart <[email protected]>
Committed: Tue Jan 26 10:00:21 2016 +0100

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/StrutsConstants.java          | 1 +
 .../org/apache/struts2/config/DefaultBeanSelectionProvider.java     | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/dd369465/core/src/main/java/org/apache/struts2/StrutsConstants.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/StrutsConstants.java 
b/core/src/main/java/org/apache/struts2/StrutsConstants.java
index 4671eb1..619ed66 100644
--- a/core/src/main/java/org/apache/struts2/StrutsConstants.java
+++ b/core/src/main/java/org/apache/struts2/StrutsConstants.java
@@ -287,6 +287,7 @@ public final class StrutsConstants {
     /** Comma delimited set of excluded classes and package names which cannot 
be accessed via expressions **/
     public static final String STRUTS_EXCLUDED_CLASSES = 
"struts.excludedClasses";
     public static final String STRUTS_EXCLUDED_PACKAGE_NAME_PATTERNS = 
"struts.excludedPackageNamePatterns";
+    public static final String STRUTS_EXCLUDED_PACKAGE_NAMES = 
"struts.excludedPackageNames";
 
     /** Dedicated services to check if passed string is excluded/accepted **/
     public static final String STRUTS_EXCLUDED_PATTERNS_CHECKER = 
"struts.excludedPatterns.checker";

http://git-wip-us.apache.org/repos/asf/struts/blob/dd369465/core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
 
b/core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
index 3a6deb2..77f0070 100644
--- 
a/core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
+++ 
b/core/src/main/java/org/apache/struts2/config/DefaultBeanSelectionProvider.java
@@ -422,6 +422,7 @@ public class DefaultBeanSelectionProvider extends 
AbstractBeanSelectionProvider
 
         convertIfExist(props, StrutsConstants.STRUTS_EXCLUDED_CLASSES, 
XWorkConstants.OGNL_EXCLUDED_CLASSES);
         convertIfExist(props, 
StrutsConstants.STRUTS_EXCLUDED_PACKAGE_NAME_PATTERNS, 
XWorkConstants.OGNL_EXCLUDED_PACKAGE_NAME_PATTERNS);
+        convertIfExist(props, StrutsConstants.STRUTS_EXCLUDED_PACKAGE_NAMES, 
XWorkConstants.OGNL_EXCLUDED_PACKAGE_NAMES);
 
         convertIfExist(props, 
StrutsConstants.STRUTS_ADDITIONAL_EXCLUDED_PATTERNS, 
XWorkConstants.ADDITIONAL_EXCLUDED_PATTERNS);
         convertIfExist(props, 
StrutsConstants.STRUTS_ADDITIONAL_ACCEPTED_PATTERNS, 
XWorkConstants.ADDITIONAL_ACCEPTED_PATTERNS);

Reply via email to