hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9164) Convert List<? extends Cell> anti pattern to List<Cell> pattern.
Date Thu, 15 Aug 2013 16:03:48 GMT

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

Jonathan Hsieh commented on HBASE-9164:
---------------------------------------

wrt get/setMemstoreTs.  I need to do an 0.95 version will keep those two methods around. 
The trunk version will remove them however.

I have more work patch where I remove some more code -- gratuitous constructors, reducing
the visibility of KV.
                
> Convert List<? extends Cell> anti pattern to List<Cell> pattern.
> ----------------------------------------------------------------
>
>                 Key: HBASE-9164
>                 URL: https://issues.apache.org/jira/browse/HBASE-9164
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.95.1
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>            Priority: Blocker
>             Fix For: 0.95.2
>
>         Attachments: hbase-9164.patch, hbase-9164.v2.patch
>
>
> As described in HBASE-9142, using List<? extends Cell> is an anti pattern that
adds unnecessary typing and casting clutter to the code base.  It would be best to remove
this before we release 0.95.2 or 0.96.

--
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

Mime
View raw message