commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1565293 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java
Date Thu, 06 Feb 2014 14:55:49 GMT
Author: ggregory
Date: Thu Feb  6 14:55:49 2014
New Revision: 1565293

URL: http://svn.apache.org/r1565293
Log:
Better param names.

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java?rev=1565293&r1=1565292&r2=1565293&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/Streams.java
Thu Feb  6 14:55:49 2014
@@ -51,7 +51,7 @@ public final class Streams {
      *   copy(pInputStream, pOutputStream, new byte[8192]);
      * </pre>
      *
-     * @param pInputStream The input stream, which is being read.
+     * @param inputStream The input stream, which is being read.
      * It is guaranteed, that {@link InputStream#close()} is called
      * on the stream.
      * @param outputStream The output stream, to which data should
@@ -64,10 +64,10 @@ public final class Streams {
      * @return Number of bytes, which have been copied.
      * @throws IOException An I/O error occurred.
      */
-    public static long copy(InputStream pInputStream,
+    public static long copy(InputStream inputStream,
             OutputStream outputStream, boolean closeOutputStream)
             throws IOException {
-        return copy(pInputStream, outputStream, closeOutputStream,
+        return copy(inputStream, outputStream, closeOutputStream,
                 new byte[DEFAULT_BUFFER_SIZE]);
     }
 



Mime
View raw message