hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17410) Use isEmpty instead of size() == 0 in hbase-client
Date Thu, 05 Jan 2017 05:44:58 GMT

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

Yu Li commented on HBASE-17410:
-------------------------------

lgtm, +1

> Use isEmpty instead of size() == 0 in hbase-client
> --------------------------------------------------
>
>                 Key: HBASE-17410
>                 URL: https://issues.apache.org/jira/browse/HBASE-17410
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Jan Hentschel
>            Assignee: Jan Hentschel
>            Priority: Minor
>         Attachments: HBASE-17410.master.001.patch
>
>
> Use {code:java}.isEmpty(){code} instead of {code:java}size() == 0{code} when possible
in the *hbase-client* module.



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

Mime
View raw message