velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r563271 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java
Date Mon, 06 Aug 2007 20:53:00 GMT
Author: nbubna
Date: Mon Aug  6 13:52:59 2007
New Revision: 563271

URL: http://svn.apache.org/viewvc?view=rev&rev=563271
Log:
overload clean() to accept a plain Configuration

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java?view=diff&rev=563271&r1=563270&r2=563271
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ConfigurationCleaner.java
Mon Aug  6 13:52:59 2007
@@ -107,6 +107,11 @@
         //TODO: loop on validate() until all debug scoped tools are removed
     }
 
+    public void clean(Configuration config)
+    {
+        cleanProperties(config);
+    }
+
     public void cleanProperties(Configuration config)
     {
         // go thru properties to log and remove debug ones



Mime
View raw message