hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15505) ReplicationPeerConfig should be builder-style
Date Mon, 21 Mar 2016 20:55:25 GMT

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

Enis Soztutar commented on HBASE-15505:
---------------------------------------

It would be good idea to look at other client-visible classes to make sure they are builder-style
as well. 

> ReplicationPeerConfig should be builder-style
> ---------------------------------------------
>
>                 Key: HBASE-15505
>                 URL: https://issues.apache.org/jira/browse/HBASE-15505
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>              Labels: beginner, beginners
>             Fix For: 2.0.0
>
>
> Similar to HTD, HCD, {{ReplicationPeerConfig}} should be builder-style: 
> {code}
> ReplicationPeerConfig().setFoo(foo).setBar(bar); 
> {code}
> See {{TestHTableDescriptor.testClassMethodsAreBuilderStyle()}}. 



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

Mime
View raw message