hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18101) Fix type mismatch on container access in QuotaCache#chore
Date Thu, 25 May 2017 02:49:04 GMT

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

Chia-Ping Tsai commented on HBASE-18101:
----------------------------------------

LGTM.

> Fix type mismatch on container access in QuotaCache#chore
> ---------------------------------------------------------
>
>                 Key: HBASE-18101
>                 URL: https://issues.apache.org/jira/browse/HBASE-18101
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Amit Patel
>            Assignee: Amit Patel
>            Priority: Trivial
>         Attachments: HBASE-18101.master.001.patch
>
>
> There is a mismatch in type in using the "Collection.contains" method in QuotaCache#chore
so this patch changes the two uses of the method to Map.containsKey. Found this issue through
one of the [active alerts|https://lgtm.com/projects/g/apache/hbase/alerts/] through [lgtm|https://lgtm.com/projects/g/apache/hbase/].



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message