src/share/classes/java/io/PipedReader.java

Print this page

        

@@ -89,11 +89,11 @@
      * will then be  available as input from this stream.
 
      * @param      src       the stream to connect to.
      * @param      pipeSize  the size of the pipe's buffer.
      * @exception  IOException  if an I/O error occurs.
-     * @exception  IllegalArgumentException if <code>pipeSize <= 0</code>.
+     * @exception  IllegalArgumentException if {@code pipeSize <= 0}.
      * @since      1.6
      */
     public PipedReader(PipedWriter src, int pipeSize) throws IOException {
         initPipe(pipeSize);
         connect(src);

@@ -118,11 +118,11 @@
      * It must be  {@linkplain java.io.PipedWriter#connect(
      * java.io.PipedReader) connected} to a <code>PipedWriter</code>
      * before being used.
      *
      * @param   pipeSize the size of the pipe's buffer.
-     * @exception  IllegalArgumentException if <code>pipeSize <= 0</code>.
+     * @exception  IllegalArgumentException if {@code pipeSize <= 0}.
      * @since      1.6
      */
     public PipedReader(int pipeSize) {
         initPipe(pipeSize);
     }