[
https://issues.apache.org/jira/browse/ZOOKEEPER-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fangmin Lv resolved ZOOKEEPER-3694.
-----------------------------------
Fix Version/s: 3.7.0
Resolution: Fixed
Issue resolved by pull request 1218
[https://github.com/apache/zookeeper/pull/1218]
> Use Map computeIfAbsent in AvgMinMaxCounterSet Class
> ----------------------------------------------------
>
> Key: ZOOKEEPER-3694
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3694
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.7.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> https://github.com/apache/zookeeper/blob/27b92caefd57a60309af06ebce29e56954ca9aac/zookeeper-server/src/main/java/org/apache/zookeeper/server/metric/AvgMinMaxCounterSet.java#L41
> More concise to use JDK facilities for this operation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)