Return-Path: Delivered-To: apmail-velocity-commits-archive@locus.apache.org Received: (qmail 95948 invoked from network); 6 Aug 2007 20:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2007 20:53:24 -0000 Received: (qmail 5737 invoked by uid 500); 6 Aug 2007 20:53:23 -0000 Delivered-To: apmail-velocity-commits-archive@velocity.apache.org Received: (qmail 5705 invoked by uid 500); 6 Aug 2007 20:53:23 -0000 Mailing-List: contact commits-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@velocity.apache.org Delivered-To: mailing list commits@velocity.apache.org Received: (qmail 5696 invoked by uid 99); 6 Aug 2007 20:53:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 13:53:23 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 20:53:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A95381A981A; Mon, 6 Aug 2007 13:53:00 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@velocity.apache.org From: nbubna@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070806205300.A95381A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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