[
https://issues.apache.org/jira/browse/HBASE-20995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573875#comment-16573875
]
Ted Yu commented on HBASE-20995:
--------------------------------
For the change in HBaseAdmin:
{code}
835 if (startKeys.length - 1 >= 0) System.arraycopy(startKeys, 1,
splits, 0, startKeys.length - 1);
{code}
If startKeys.length == 1, the loop in original code wouldn't do anything.
> Clean Up Manual Array Copies, trivial
> -------------------------------------
>
> Key: HBASE-20995
> URL: https://issues.apache.org/jira/browse/HBASE-20995
> Project: HBase
> Issue Type: Improvement
> Reporter: John Leach
> Assignee: John Leach
> Priority: Trivial
> Attachments: HBASE-20995.patch
>
>
> Clean up manual array copies in code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)