commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1616322 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Date Wed, 06 Aug 2014 19:38:54 GMT
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



Mime
View raw message