[
https://issues.apache.org/jira/browse/HBASE-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hsieh updated HBASE-9493:
----------------------------------
Attachment: hbase-9493.patch
Simple braindead patch. New name makes it clear that allocation is going on
(and also clearly points out that we are doing a lot of small array allocations
in tests).
> Rename CellUtil#get*Array to CellUtil#clone*
> --------------------------------------------
>
> Key: HBASE-9493
> URL: https://issues.apache.org/jira/browse/HBASE-9493
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 0.95.2
> Reporter: Jonathan Hsieh
> Fix For: 0.98.0, 0.96.0
>
> Attachments: hbase-9493.patch
>
>
> To make reading code easier, we should rename the CellUtil#get*Array methods
> (Value,Qualifier,Family,Row) to to CellUtil#clone*. This eliminates the
> possibly confusion between the semantics of these methods (which
> allocate-copy) and that of Cell#get*Array (which essentially just returns a
> pointer).
--
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