hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dian Fu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11434) Correct the comment of ByteBufferReadable#read
Date Fri, 19 Dec 2014 09:12:13 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dian Fu updated HADOOP-11434:
-----------------------------
    Attachment: HADOOP-11434.001.patch

Upload a small patch to correct the comments.

> Correct the comment of ByteBufferReadable#read
> ----------------------------------------------
>
>                 Key: HADOOP-11434
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11434
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>            Priority: Minor
>         Attachments: HADOOP-11434.001.patch
>
>
> The following comment of {{ByteBufferReadable#read}} seems not correct, actually, the
position of {{buf}} should be updated:
> {code}
> After a successful call, buf.position() and buf.limit() should be
> -   * unchanged, and therefore any data can be immediately read from buf.
> -   * buf.mark() may be cleared or updated.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message