velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1874970 - /velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java
Date Sun, 08 Mar 2020 10:27:56 GMT
Author: cbrisson
Date: Sun Mar  8 10:27:56 2020
New Revision: 1874970

URL: http://svn.apache.org/viewvc?rev=1874970&view=rev
Log:
[tools/generic] VELTOOLS-187 : Fix handing of tools 'class' attribute

Modified:
    velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java

Modified: velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java?rev=1874970&r1=1874969&r2=1874970&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java
(original)
+++ velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfigurationRuleSet.java
Sun Mar  8 10:27:56 2020
@@ -107,7 +107,7 @@ public class XmlFactoryConfigurationRule
         digester.addSetProperties("tools");
         digester.addSetProperties("tools/data");
         digester.addSetProperties("tools/toolbox");
-        digester.addSetProperties("tools/toolbox/tool");
+        digester.addSetProperties("tools/toolbox/tool", "class", "classname");
 
         // to add all attributes to config via setProperty(name,value)
         digester.addRule("tools", new PropertyAttributeRule());



Mime
View raw message