Fix typos
This commit is contained in:
parent
5a8486e39c
commit
71254e4bb5
@ -90,13 +90,13 @@ public final class MonitorRegistries implements Iterable<MonitorRegistry> {
|
|||||||
* @return <em>The</em> uniquely determined {@link MonitorRegistry}
|
* @return <em>The</em> uniquely determined {@link MonitorRegistry}
|
||||||
* implementation
|
* implementation
|
||||||
* @throws IllegalStateException If either none or more that one
|
* @throws IllegalStateException If either none or more that one
|
||||||
* {@link MonitorRegistryFactor} provider was found on the
|
* {@link MonitorRegistries} provider was found on the
|
||||||
* classpath
|
* classpath
|
||||||
*/
|
*/
|
||||||
public MonitorRegistry unique() {
|
public MonitorRegistry unique() {
|
||||||
final Iterator<MonitorRegistry> registries = iterator();
|
final Iterator<MonitorRegistry> registries = iterator();
|
||||||
if (!registries.hasNext()) {
|
if (!registries.hasNext()) {
|
||||||
throw new IllegalStateException("Could not find any MonitorRegistryFactories on the classpath - "
|
throw new IllegalStateException("Could not find any MonitorRegistries the classpath - "
|
||||||
+ "implementations need to be registered in META-INF/services/"
|
+ "implementations need to be registered in META-INF/services/"
|
||||||
+ MonitorRegistryFactory.class.getName());
|
+ MonitorRegistryFactory.class.getName());
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ public final class YammerMonitorRegistry implements MonitorRegistry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new {@link ValueDistributionMonitor} that is backed by a
|
* Create a new {@link ValueDistributionMonitor} that is backed by a
|
||||||
* {@code Yammer} {@link Histrogram}.
|
* {@code Yammer} {@link Histogram}.
|
||||||
* @see io.netty.monitor.MonitorRegistry#newValueDistributionMonitor(io.netty.monitor.MonitorName)
|
* @see io.netty.monitor.MonitorRegistry#newValueDistributionMonitor(io.netty.monitor.MonitorName)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user