This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 364a468 Hack to avoid optional listener warn log 364a468 is described below commit 364a4686cd5dd651b7f8323e017581322389dd57 Author: remm <r...@apache.org> AuthorDate: Tue May 28 21:45:02 2019 +0200 Hack to avoid optional listener warn log --- java/org/apache/tomcat/util/digester/SetPropertiesRule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/digester/SetPropertiesRule.java b/java/org/apache/tomcat/util/digester/SetPropertiesRule.java index 03afccf..a3b38c7 100644 --- a/java/org/apache/tomcat/util/digester/SetPropertiesRule.java +++ b/java/org/apache/tomcat/util/digester/SetPropertiesRule.java @@ -72,7 +72,9 @@ public class SetPropertiesRule extends Rule { if (!digester.isFakeAttribute(top, name) && !IntrospectionUtils.setProperty(top, name, value) && digester.getRulesValidation()) { - digester.log.warn(sm.getString("rule.noProperty", digester.match, name, value)); + if (!"optional".equals(name)) { + digester.log.warn(sm.getString("rule.noProperty", digester.match, name, value)); + } } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org