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

stack commented on HBASE-16892:
-------------------------------

+1 Nice cleanup.

> Use TableName instead of String in SnapshotDescription
> ------------------------------------------------------
>
>                 Key: HBASE-16892
>                 URL: https://issues.apache.org/jira/browse/HBASE-16892
>             Project: HBase
>          Issue Type: Sub-task
>          Components: snapshots
>    Affects Versions: 2.0.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16892-v0.patch, HBASE-16892-v1.patch, 
> HBASE-16892-v2.patch
>
>
> mostly find & replace work:
> deprecate the SnapshotDescription constructors with the String argument in 
> favor of the TableName ones. 
> Replace the TableName.valueOf() around with the new getTableName()
> Replace the TableName.getNameAsString() by just passing the TableName



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to