[ 
https://issues.apache.org/jira/browse/HBASE-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763518#comment-13763518
 ] 

stack commented on HBASE-9493:
------------------------------

+1  This is an improvement.
                
> 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
>            Assignee: 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

Reply via email to