Fix typos

This commit is contained in:
Norman Maurer 2012-10-27 20:31:55 +02:00
parent 5a8486e39c
commit 71254e4bb5
2 changed files with 3 additions and 3 deletions

View File

@ -90,13 +90,13 @@ public final class MonitorRegistries implements Iterable<MonitorRegistry> {
* @return <em>The</em> uniquely determined {@link MonitorRegistry}
* implementation
* @throws IllegalStateException If either none or more that one
* {@link MonitorRegistryFactor} provider was found on the
* {@link MonitorRegistries} provider was found on the
* classpath
*/
public MonitorRegistry unique() {
final Iterator<MonitorRegistry> registries = iterator();
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/"
+ MonitorRegistryFactory.class.getName());
}

View File

@ -63,7 +63,7 @@ public final class YammerMonitorRegistry implements MonitorRegistry {
/**
* 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)
*/
@Override