You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Dian Fu (JIRA)" <ji...@apache.org> on 2014/12/19 10:08:13 UTC
[jira] [Created] (HADOOP-11434) Correct the comment of
ByteBufferReadable#read
Dian Fu created HADOOP-11434:
--------------------------------
Summary: 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
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)