src/java.base/share/classes/java/io/PushbackReader.java
changeset 58288 48e480e56aad
parent 58242 94bb65cb37d3
child 58679 9c3209ff7550
--- a/src/java.base/share/classes/java/io/PushbackReader.java	Tue Sep 24 10:04:13 2019 +0000
+++ b/src/java.base/share/classes/java/io/PushbackReader.java	Tue Sep 24 09:43:43 2019 +0100
@@ -142,7 +142,7 @@
     /**
      * Pushes back a single character by copying it to the front of the
      * pushback buffer. After this method returns, the next character to be read
-     * will have the value <code>(char)c</code>.
+     * will have the value {@code (char)c}.
      *
      * @param  c  The int value representing a character to be pushed back
      *
@@ -161,8 +161,8 @@
     /**
      * Pushes back a portion of an array of characters by copying it to the
      * front of the pushback buffer.  After this method returns, the next
-     * character to be read will have the value <code>cbuf[off]</code>, the
-     * character after that will have the value <code>cbuf[off+1]</code>, and
+     * character to be read will have the value {@code cbuf[off]}, the
+     * character after that will have the value {@code cbuf[off+1]}, and
      * so forth.
      *
      * @param      cbuf  Character array
@@ -185,8 +185,8 @@
     /**
      * Pushes back an array of characters by copying it to the front of the
      * pushback buffer.  After this method returns, the next character to be
-     * read will have the value <code>cbuf[0]</code>, the character after that
-     * will have the value <code>cbuf[1]</code>, and so forth.
+     * read will have the value {@code cbuf[0]}, the character after that
+     * will have the value {@code cbuf[1]}, and so forth.
      *
      * @param      cbuf  Character array to push back
      *
@@ -210,8 +210,8 @@
     }
 
     /**
-     * Marks the present position in the stream. The <code>mark</code>
-     * for class <code>PushbackReader</code> always throws an exception.
+     * Marks the present position in the stream. The {@code mark}
+     * for class {@code PushbackReader} always throws an exception.
      *
      * @throws     IOException  Always, since mark is not supported
      */
@@ -220,8 +220,8 @@
     }
 
     /**
-     * Resets the stream. The <code>reset</code> method of
-     * <code>PushbackReader</code> always throws an exception.
+     * Resets the stream. The {@code reset} method of
+     * {@code PushbackReader} always throws an exception.
      *
      * @throws     IOException  Always, since reset is not supported
      */
@@ -261,7 +261,7 @@
      *
      * @return    The number of characters actually skipped
      *
-     * @throws    IllegalArgumentException  If <code>n</code> is negative.
+     * @throws    IllegalArgumentException  If {@code n} is negative.
      * @throws    IOException  If an I/O error occurs
      */
     public long skip(long n) throws IOException {