RFR [8059840]: (bb) Typo in javadoc for ByteBuffer.wrap()

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 7 12:24:30 UTC 2014


On 07/10/2014 04:53, Seán Coffey wrote:
> quite the eagle eye Ivan.. or clever scripts! ;)
>
> src/java.base/share/classes/java/nio/file/FileStore.java
>> +     * @return  the attribute value; {@code null} may be a valid for some
> This still doesn't read right.  I think original intent was :
> +     * @return  the attribute value; {@code null} may be a valid 
> *value *for some
Right, this should be "may be a valid value for some ..." or even "may 
be valid for some ...".


>
> src/java.base/share/classes/java/nio/file/attribute/package-info.java
>>     * The {@link java.nio.file.attribute.FileAttributeView} interface is
>> !  * extended by several other interfaces that views to specific sets of file
>>     * attributes. {@code FileAttributeViews} are selected by invoking the {@link
> Not sure if this reads right either. Maybe original intent was :
> extended by several other interfaces that*display*views to specific sets of file
>
> Not sure..
Actually the missing word is "define" or "provide".

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141007/3b1f3980/attachment-0001.html>


More information about the nio-dev mailing list