You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/08/06 21:38:54 UTC
svn commit: r1616322 -
/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Author: sebb
Date: Wed Aug 6 19:38:54 2014
New Revision: 1616322
URL: http://svn.apache.org/r1616322
Log:
Clarify Javadoc
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
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=1616322&r1=1616321&r2=1616322&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 Wed Aug 6 19:38:54 2014
@@ -1507,6 +1507,7 @@ public class FileUtils {
* will be created if they don't already exist. <code>destination</code>
* will be overwritten if it already exists.
* The {@code source} stream is closed.
+ * See {@link #copyToFile(InputStream, File)} for a method that does not close the input stream.
*
* @param source the <code>InputStream</code> to copy bytes from, must not be {@code null}, will be closed
* @param destination the non-directory <code>File</code> to write bytes to
@@ -1531,6 +1532,7 @@ public class FileUtils {
* will be created if they don't already exist. <code>destination</code>
* will be overwritten if it already exists.
* The {@code source} stream is left open, e.g. for use with {@link java.util.zip.ZipInputStream ZipInputStream}.
+ * See {@link #copyInputStreamToFile(InputStream, File)} for a method that closes the input stream.
*
* @param source the <code>InputStream</code> to copy bytes from, must not be {@code null}
* @param destination the non-directory <code>File</code> to write bytes to