6613829: (docs) Readable.read() ReadOnlyBufferException is not linked
Lance Andersen - Oracle
Lance.Andersen at oracle.com
Tue Nov 16 14:58:13 UTC 2010
Looks good to me Alan.
Regards
Lance
On Nov 16, 2010, at 9:34 AM, Alan Bateman wrote:
> I need a reviewer to a trivial drive-by fix to java.lang.Readable's javadoc.
>
> Thanks,
> Alan.
>
> diff --git a/src/share/classes/java/lang/Readable.java b/src/share/classes/java/lang/Readable.java
> --- a/src/share/classes/java/lang/Readable.java
> +++ b/src/share/classes/java/lang/Readable.java
> @@ -44,11 +44,11 @@ public interface Readable {
> * 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;
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Oracle is committed to developing practices and products that help protect the environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20101116/464d5966/attachment.html>
More information about the core-libs-dev
mailing list