Author: sebb
Date: Sun Apr 21 23:26:47 2013
New Revision: 1470362
URL: http://svn.apache.org/r1470362
Log:
IO-328 FileUtils.listFilesAndDirs includes original dir in results even when it
doesn't match filter
Javadoc: clarify that original dir is included in the results
Modified:
commons/proper/io/trunk/src/changes/changes.xml
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Modified: commons/proper/io/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1470362&r1=1470361&r2=1470362&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Sun Apr 21 23:26:47 2013
@@ -47,6 +47,10 @@ The <action> type attribute can be add,u
<body>
<!-- The release date is the date RC is cut -->
<release version="2.5" date="2013-??-??" description="New features and bug
fixes.">
+ <action issue="IO-328" dev="sebb" type="update">
+ FileUtils.listFilesAndDirs includes original dir in results even when
it doesn't match filter
+ Javadoc: clarify that original dir is included in the results
+ </action>
<action issue="IO-330" dev="sebb" type="add">
IOUtils#toBufferedOutputStream/toBufferedWriter to conditionally wrap
the output
Added asBufferedInputStream, asBufferedOutputStream,
asBufferedReader, asBufferedWriter
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1470362&r1=1470361&r2=1470362&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Sun Apr 21 23:26:47 2013
@@ -574,7 +574,8 @@ public class FileUtils {
* Finds files within a given directory (and optionally its
* subdirectories). All files found are filtered by an IOFileFilter.
* <p>
- * The resulting collection includes the subdirectories themselves.
+ * The resulting collection includes the starting directory and
+ * any subdirectories that match the directory filter.
* <p>
* @see org.apache.commons.io.FileUtils#listFiles
*