Return-Path: Delivered-To: apmail-incubator-ace-commits-archive@minotaur.apache.org Received: (qmail 61459 invoked from network); 17 Oct 2009 12:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Oct 2009 12:32:20 -0000 Received: (qmail 42303 invoked by uid 500); 17 Oct 2009 12:32:20 -0000 Delivered-To: apmail-incubator-ace-commits-archive@incubator.apache.org Received: (qmail 42283 invoked by uid 500); 17 Oct 2009 12:32:20 -0000 Mailing-List: contact ace-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-commits@incubator.apache.org Received: (qmail 42273 invoked by uid 99); 17 Oct 2009 12:32:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 12:32:19 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 12:32:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 803A82388895; Sat, 17 Oct 2009 12:31:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r826241 - /incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java Date: Sat, 17 Oct 2009 12:31:57 -0000 To: ace-commits@incubator.apache.org From: marrs@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091017123157.803A82388895@eris.apache.org> Author: marrs Date: Sat Oct 17 12:31:56 2009 New Revision: 826241 URL: http://svn.apache.org/viewvc?rev=826241&view=rev Log: Applied ACE-54, configurator will now ignore any hidden files. Modified: incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java Modified: incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java URL: http://svn.apache.org/viewvc/incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java?rev=826241&r1=826240&r2=826241&view=diff ============================================================================== --- incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java (original) +++ incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java Sat Oct 17 12:31:56 2009 @@ -55,7 +55,7 @@ private static final String DELIM_STOP = "}"; private static final FileFilter FILENAME_FILTER = new FileFilter() { public boolean accept(File file) { - return file.getName().endsWith(".cfg") || file.isDirectory(); + return !file.isHidden() && (file.getName().endsWith(".cfg") || file.isDirectory()); } }; private static final String FACTORY_INSTANCE_KEY = "factory.instance.pid"; @@ -296,7 +296,7 @@ /** * Performs variable substitution for a complete set of properties * - * @see substVars() + * @see #substVars(String, String, java.util.Map, java.util.Properties) * @param properties Set of properties to apply substitution on. * @return Same set of properties with all variables substituted. */