From: Shrenik Date: Tue, 27 Dec 2016 18:23:55 +0000 (+0530) Subject: Fixup Typos in Comments X-Git-Tag: release/carbon~330 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F36%2F49836%2F2 Fixup Typos in Comments - Fix typos - Fix duplicate words Change-Id: I33eb78183fbc56e4d7c574e486b7f811dd846b18 Signed-off-by: Shrenik Jain --- diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java index 77b555c6e9..426edc1dec 100644 --- a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java @@ -21,7 +21,7 @@ public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadable /** * Only well-known ObjectName in configuration system, under which - * ConfigRegisry is registered. + * ConfigRegistry is registered. */ ObjectName OBJECT_NAME = ConfigRegistryConstants.OBJECT_NAME; ObjectName OBJECT_NAME_NO_NOTIFICATIONS = ConfigRegistryConstants.OBJECT_NAME_NO_NOTIFICATIONS; diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/DependencyResolver.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/DependencyResolver.java index 466f1ed60c..813e55426b 100644 --- a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/DependencyResolver.java +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/DependencyResolver.java @@ -26,7 +26,7 @@ import org.opendaylight.yangtools.yang.binding.BaseIdentity; public interface DependencyResolver extends Identifiable { /** - * To be used during validation phase to validate serice interface of + * To be used during validation phase to validate service interface of * dependent module. * * @param expectedServiceInterface MBean/MXBean interface which will back the proxy object. diff --git a/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PersistenceProtocol.java b/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PersistenceProtocol.java index ac0329cd58..be58b05b1f 100644 --- a/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PersistenceProtocol.java +++ b/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PersistenceProtocol.java @@ -33,7 +33,7 @@ public enum PersistenceProtocol implements WritableObject { }, /** * Simple commit protocol. The transaction should be committed to the global history. The receiving backend - * it the only entity which needs to persist its effects, hence a simple request/reply protocol is sufficient. + * is the only entity which needs to persist its effects, hence a simple request/reply protocol is sufficient. */ SIMPLE { @Override @@ -52,7 +52,7 @@ public enum PersistenceProtocol implements WritableObject { } }, /** - * Transaction is ready. This is not a really a persistence protocol, but an indication that that frontend has + * Transaction is ready. This is not a really a persistence protocol, but an indication that frontend has * completed modifications on the transaction and considers it ready, without deciding the actual commit protocol. */ READY { diff --git a/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/EmptyQueue.java b/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/EmptyQueue.java index 40a296bd42..125f0251cd 100644 --- a/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/EmptyQueue.java +++ b/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/EmptyQueue.java @@ -17,7 +17,6 @@ import org.opendaylight.yangtools.concepts.Immutable; /** * A specialized always-empty implementation of {@link java.util.Queue}. This implementation will always refuse new * elements in its {@link #offer(Object)} method. - * @author Robert Varga * * @param the type of elements held in this collection @@ -60,4 +59,4 @@ public final class EmptyQueue extends AbstractQueue implements Immutable { public int size() { return 0; } -} \ No newline at end of file +} diff --git a/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveredClientActorBehavior.java b/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveredClientActorBehavior.java index 3199db35fb..4c5a163e8e 100644 --- a/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveredClientActorBehavior.java +++ b/opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveredClientActorBehavior.java @@ -8,7 +8,7 @@ package org.opendaylight.controller.cluster.access.client; /** - * Abstract base class class for a behavior whose actor has recovered from persistence. + * Abstract base class for a behavior whose actor has recovered from persistence. * * @param Concrete context type * diff --git a/opendaylight/md-sal/messagebus-impl/src/test/java/org/opendaylight/controller/messagebus/app/impl/EventSourceRegistrationImplTest.java b/opendaylight/md-sal/messagebus-impl/src/test/java/org/opendaylight/controller/messagebus/app/impl/EventSourceRegistrationImplTest.java index 9cce623523..324b88f00a 100644 --- a/opendaylight/md-sal/messagebus-impl/src/test/java/org/opendaylight/controller/messagebus/app/impl/EventSourceRegistrationImplTest.java +++ b/opendaylight/md-sal/messagebus-impl/src/test/java/org/opendaylight/controller/messagebus/app/impl/EventSourceRegistrationImplTest.java @@ -43,7 +43,7 @@ public class EventSourceRegistrationImplTest { private class EventSourceRegistrationImplLocal extends EventSourceRegistrationImpl{ /** - * @param instance of EventSource that has been registered by {@link EventSourceRegistryImpl#registerEventSource(Node, org.opendaylight.controller.messagebus.spi.EventSource)} + * @param instance of EventSource that has been registered by {@link EventSourceRegistryImpl#registerEventSource(Node, org.opendaylight.controller.messagebus.spi.EventSource)} * @param eventSourceTopology */ public EventSourceRegistrationImplLocal(EventSource instance, EventSourceTopology eventSourceTopology) { @@ -51,4 +51,4 @@ public class EventSourceRegistrationImplTest { } } -} \ No newline at end of file +} diff --git a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSource.java b/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSource.java index 6880775461..c367368d63 100644 --- a/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSource.java +++ b/opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSource.java @@ -14,7 +14,7 @@ import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology. import org.opendaylight.yangtools.yang.model.api.SchemaPath; /** - * Event source is a node in topology which is able to produces notifications. + * Event source is a node in topology which is able to produce notifications. * To register event source you use {@link EventSourceRegistry#registerEventSource(EventSource)}. * EventSourceRegistry will request registered event source to publish notifications * whenever EventSourceRegistry has been asked to publish a certain type of notifications.