mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
WW-3067 Add a configuration constant to turn on/off the logging of missing properties by OGNL
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@760099 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -228,7 +228,8 @@ public class BeanSelectionProvider implements ConfigurationProvider {
|
||||
props.setProperty("devMode", "false");
|
||||
}
|
||||
|
||||
props.setProperty("logMissingProperties", props.getProperty(StrutsConstants.STRUTS_LOG_MISSING_PROPERTIES));
|
||||
if (props.containsKey(StrutsConstants.STRUTS_LOG_MISSING_PROPERTIES))
|
||||
props.setProperty("logMissingProperties", props.getProperty(StrutsConstants.STRUTS_LOG_MISSING_PROPERTIES));
|
||||
|
||||
String val = props.getProperty(StrutsConstants.STRUTS_ALLOW_STATIC_METHOD_ACCESS);
|
||||
if (val != null) {
|
||||
|
||||
Reference in New Issue
Block a user