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

Ivan Gerasimov ivan.gerasimov at oracle.com
Tue Oct 7 13:41:23 UTC 2014


Ah.
I should have been more attentive, and shouldn't have committed too fast.
I'll include these additional corrections into the upcoming fix in the 
nio area.

Sincerely yours,
Ivan

On 07.10.2014 16:24, Alan Bateman wrote:
> 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/c1526d8c/attachment.html>


More information about the nio-dev mailing list