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

Chris Hegarty chris.hegarty at oracle.com
Tue Oct 7 11:56:49 UTC 2014


On 7 Oct 2014, at 12:53, Seán Coffey <sean.coffey at oracle.com> 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
> 
> 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
Or:
  extended by several other interfaces that *have* views to specific sets of file
-Chris.
> 
> Not sure..
> regards,
> Sean.
> 
> On 07/10/2014 10:57, Daniel Fuchs wrote:
>> Hi Ivan, 
>> 
>> Looks good to me. 
>> 
>> -- daniel 
>> 
>> On 07/10/14 11:52, Ivan Gerasimov wrote: 
>>> Hello! 
>>> 
>>> A minor typo was noticed in the javadoc for ByteBuffer.wrap(). 
>>> I'm also including the removal of a few word repetitions in the 
>>> neighboring files. 
>>> 
>>> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8059840 
>>> WEBREV: http://cr.openjdk.java.net/~igerasim/8059840/0/webrev/ 
>>> 
>>> Sincerely yours, 
>>> Ivan 
>> 
> 

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


More information about the nio-dev mailing list