6613829: (docs) Readable.read() ReadOnlyBufferException is not linked
authoralanb
Tue, 16 Nov 2010 15:23:11 +0000
changeset 7267 1928ed40f8bd
parent 7190 2bd7f94e734d
child 7270 0f1c7f1b54bf
child 7275 608d2708ab12
6613829: (docs) Readable.read() ReadOnlyBufferException is not linked Reviewed-by: chegar, lancea
jdk/src/share/classes/java/lang/Readable.java
--- a/jdk/src/share/classes/java/lang/Readable.java	Mon Nov 15 09:42:39 2010 -0800
+++ b/jdk/src/share/classes/java/lang/Readable.java	Tue Nov 16 15:23:11 2010 +0000
@@ -44,11 +44,11 @@
      * rewinding of the buffer is performed.
      *
      * @param cb the buffer to read characters into
-     * @return @return The number of <tt>char</tt> values added to the buffer,
+     * @return The number of {@code char} values added to the buffer,
      *                 or -1 if this source of characters is at its end
      * @throws IOException if an I/O error occurs
      * @throws NullPointerException if cb is null
-     * @throws ReadOnlyBufferException if cb is a read only buffer
+     * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer
      */
     public int read(java.nio.CharBuffer cb) throws IOException;