src/share/classes/java/util/zip/GZIPOutputStream.java

Print this page

        

@@ -59,12 +59,11 @@
      * the 3-argument constructor GZIPOutputStream(out, size, false).
      *
      * @param out the output stream
      * @param size the output buffer size
      * @exception IOException If an I/O error has occurred.
-     * @exception IllegalArgumentException if size is <= 0
-
+     * @exception IllegalArgumentException if {@code size <= 0}
      */
     public GZIPOutputStream(OutputStream out, int size) throws IOException {
         this(out, size, false);
     }
 

@@ -79,11 +78,11 @@
      *        {@link DeflaterOutputStream#flush() flush()} method of
      *        this instance flushes the compressor with flush mode
      *        {@link Deflater#SYNC_FLUSH} before flushing the output
      *        stream, otherwise only flushes the output stream
      * @exception IOException If an I/O error has occurred.
-     * @exception IllegalArgumentException if size is <= 0
+     * @exception IllegalArgumentException if {@code size <= 0}
      *
      * @since 1.7
      */
     public GZIPOutputStream(OutputStream out, int size, boolean syncFlush)
         throws IOException