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 2009/03/14 03:18:59 UTC

svn commit: r753587 - /commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java

Author: sebb
Date: Sat Mar 14 02:18:58 2009
New Revision: 753587

URL: http://svn.apache.org/viewvc?rev=753587&view=rev
Log:
Fix Javadoc

Modified:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java

Modified: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java?rev=753587&r1=753586&r2=753587&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java (original)
+++ commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java Sat Mar 14 02:18:58 2009
@@ -50,8 +50,8 @@
      * @param archiverName the archive name, i.e. "ar", "zip", "tar", "jar" or "cpio"
      * @param in the input stream
      * @return the archive input stream
-     * @throws ArchiveException
-     * @throws IllegalArgumentException if the archiver name is null or not known
+     * @throws ArchiveException if the archiver name is not known
+     * @throws IllegalArgumentException if the archiver name or stream is null
      */
     public ArchiveInputStream createArchiveInputStream(
             final String archiverName, final InputStream in)
@@ -80,8 +80,8 @@
      * @param archiverName the archive name, i.e. "ar", "zip", "tar", "jar" or "cpio"
      * @param out the output stream
      * @return the archive output stream
-     * @throws ArchiveException
-     * @throws IllegalArgumentException if the archiver name is null or not known
+     * @throws ArchiveException if the archiver name is not known
+     * @throws IllegalArgumentException if the archiver name or stream is null
      */
     public ArchiveOutputStream createArchiveOutputStream(
             final String archiverName, final OutputStream out)
@@ -111,8 +111,8 @@
      * 
      * @param in the input stream
      * @return the archive input stream
-     * @throws ArchiveException
-     * @throws IllegalArgumentException if the archiver name is null or not known
+     * @throws ArchiveException if the archiver name is not known
+     * @throws IllegalArgumentException if the stream is null or does not support mark
      */
     public ArchiveInputStream createArchiveInputStream(final InputStream in)
             throws ArchiveException {