incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r826241 - /incubator/ace/trunk/gateway/src/org/apache/ace/configurator/Configurator.java
Date Sat, 17 Oct 2009 12:31:57 GMT
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.
      */



Mime
View raw message