]
Jeff Mesnil commented on WFWIP-130:
-----------------------------------
Reported upstream at
SmallRye Metrics - JmxWorker - findKeyForValueToBeReplaced could use
some polish
--------------------------------------------------------------------------------
Key: WFWIP-130
URL:
https://issues.jboss.org/browse/WFWIP-130
Project: WildFly WIP
Issue Type: Bug
Components: MP Metrics
Reporter: Rostislav Svoboda
Assignee: Jeff Mesnil
Priority: Major
SmallRye Metrics - JmxWorker - findKeyForValueToBeReplaced could use some polish
https://github.com/smallrye/smallrye-metrics/blob/master/implementation/s...
- iterate entrySet instead of keySet
- can it happen that there are more entries with value '*' ?
- shouldn't the for cycle end when the (first?) match is found ?