hbase-issues mailing list archives

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

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

Josh Elser commented on HBASE-17410:
------------------------------------

Looks good enough to me. I wonder how much of a benefit there is to be realized by all of
the issues you've created, but, when not harmful, who am I to tell you how to spend your time.

Let me see if anyone else chimes in. Otherwise, I'll try to remember to commit this tmrw.

> 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