changeset 3249:9ec7802cc759

6613829: (docs) Readable.read() ReadOnlyBufferException is not linked Reviewed-by: chegar, lancea
author alanb
date Tue, 16 Nov 2010 15:23:11 +0000
parents 23ccf9a8451f
children 8134c0b75da5 2e0204644cf4
files src/share/classes/java/lang/Readable.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/Readable.java	Mon Nov 15 09:42:39 2010 -0800
+++ b/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;