hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12046) HTD/HCD setters should be builder-style
Date Mon, 22 Sep 2014 20:21:34 GMT

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

Hudson commented on HBASE-12046:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #5541 (See [https://builds.apache.org/job/HBase-TRUNK/5541/])
HBASE-12046 HTD/HCD setters should be builder-style (enis: rev bcbacefdd5c67eb2a06cd8fdededb9899017b317)
* hbase-server/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.java
* hbase-client/src/test/java/org/apache/hadoop/hbase/TestHColumnDescriptor.java
* hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestOperation.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
* hbase-client/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.java
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/UnmodifyableHTableDescriptor.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/TestHColumnDescriptor.java
* hbase-client/src/test/java/org/apache/hadoop/hbase/util/BuilderStyleTest.java


> HTD/HCD setters should be builder-style
> ---------------------------------------
>
>                 Key: HBASE-12046
>                 URL: https://issues.apache.org/jira/browse/HBASE-12046
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: hbase-12046_v1-0.99.patch, hbase-12046_v1.patch
>
>
> Similar to Scan / Get, etc constructs, HTD and HCD setters and add'ers should return
this from the method, so that objects can be constructed in a builder style: 
> {code}
> Foo foo =
>   new Foo()
>     .setBar()
>     .setBaz() 
> {code}



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

Mime
View raw message