[
https://issues.apache.org/jira/browse/ZOOKEEPER-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Mollitor resolved ZOOKEEPER-3693.
---------------------------------------
Resolution: Duplicate
Accidentally created two copies of the same JIRA because JIRA instance is very
laggy today.
> Use Map computeIfAbsent in AvgMinMaxCounterSet Class
> ----------------------------------------------------
>
> Key: ZOOKEEPER-3693
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3693
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
>
> 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)