[
https://issues.apache.org/jira/browse/HADOOP-9276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569021#comment-13569021
]
Hitesh Shah commented on HADOOP-9276:
-------------------------------------
Minor comments:
- BoundedByteArrayOutputStream(byte[] buf, int offset, int limit) could call
the resetBuffer function itself.
- the new ctor and resetBuffer functions need a check on buffer.length
against limit ( similar to the original ctor's check for capacity )
> Allow BoundedByteArrayOutputStream to be resettable
> ---------------------------------------------------
>
> Key: HADOOP-9276
> URL: https://issues.apache.org/jira/browse/HADOOP-9276
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Priority: Minor
> Attachments: HADOOP-9276.patch
>
>
> Allow BoundedByteArrayOutputStream's byte[] to be resettable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira