Revision: 519
http://cishell.svn.sourceforge.net/cishell/?rev=519&view=rev
Author: mwlinnem
Date: 2007-09-12 11:16:29 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
No longer attempts to use directories as test files.
Modified Paths:
--------------
trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/TestFileKeeper.java
Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/TestFileKeeper.java
===================================================================
--- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/TestFileKeeper.java 2007-09-12 18:01:51 UTC (rev 518)
+++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/TestFileKeeper.java 2007-09-12 18:16:29 UTC (rev 519)
@@ -127,7 +127,7 @@
File[] dirContents = dir.listFiles();
for (int ii = 0; ii < dirContents.length; ii++) {
File fileInDir = dirContents[ii];
- if (! fileInDir.isHidden()) {
+ if (! fileInDir.isHidden() && !fileInDir.isDirectory()) {
try {
String testFilePath = fileInDir
.getCanonicalPath();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|