[
https://issues.apache.org/jira/browse/HBASE-18101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Patel updated HBASE-18101:
-------------------------------
Description: 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/]. (was: 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.)
> 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)