EdColeman commented on code in PR #4244:
URL: https://github.com/apache/accumulo/pull/4244#discussion_r1483575273
##########
core/src/main/java/org/apache/accumulo/core/metrics/MetricsUtil.java:
##########
@@ -105,14 +108,16 @@ public DistributionStatisticConfig configure(Meter.Id id,
}
};
- Class<? extends MeterRegistryFactory> clazz =
- ClassLoaderUtil.loadClass(factoryClass, MeterRegistryFactory.class);
- MeterRegistryFactory factory =
clazz.getDeclaredConstructor().newInstance();
+ for (String factoryName : getTrimmedStrings(factoryClasses)) {
+ Class<? extends MeterRegistryFactory> clazz =
+ ClassLoaderUtil.loadClass(factoryName, MeterRegistryFactory.class);
Review Comment:
Addressed in d8551b56e4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]