Fixup Typos in Comments 36/49836/2
authorShrenik <shrenik.jain@research.iiit.ac.in>
Tue, 27 Dec 2016 18:23:55 +0000 (23:53 +0530)
committerTom Pantelis <tpanteli@brocade.com>
Mon, 9 Jan 2017 14:36:06 +0000 (14:36 +0000)
- Fix typos
- Fix duplicate words

Change-Id: I33eb78183fbc56e4d7c574e486b7f811dd846b18
Signed-off-by: Shrenik Jain <shrenik.jain@research.iiit.ac.in>
opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java
opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/DependencyResolver.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PersistenceProtocol.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/EmptyQueue.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveredClientActorBehavior.java
opendaylight/md-sal/messagebus-impl/src/test/java/org/opendaylight/controller/messagebus/app/impl/EventSourceRegistrationImplTest.java
opendaylight/md-sal/messagebus-spi/src/main/java/org/opendaylight/controller/messagebus/spi/EventSource.java

index 77b555c6e969645381165638bfc3eaebd810d287..426edc1dec9fb4f38bf9f9d2b63cbaedb9ac26b5 100644 (file)
@@ -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;
index 466f1ed60cafdb1b40b1e4595e4aae57d76f42af..813e55426b203bc1a679f4daa1d221bff1a6650b 100644 (file)
@@ -26,7 +26,7 @@ import org.opendaylight.yangtools.yang.binding.BaseIdentity;
 public interface DependencyResolver extends Identifiable<ModuleIdentifier> {
 
     /**
-     * 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.
index ac0329cd58aba6e30a9dd668b2db8cba2a4788df..be58b05b1fc87f3f3cdceb6f9ef6271dd210fbd8 100644 (file)
@@ -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 {
index 40a296bd42366e65ca7c342b8784a2c91622d421..125f0251cd947198edbc17072d66c7fc607c7d61 100644 (file)
@@ -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 <E> the type of elements held in this collection
@@ -60,4 +59,4 @@ public final class EmptyQueue<E> extends AbstractQueue<E> implements Immutable {
     public int size() {
         return 0;
     }
-}
\ No newline at end of file
+}
index 3199db35fbd38ca251c05b4254a056fc4c8c1974..4c5a163e8e46b13278dc320fa38b43c736ed8193 100644 (file)
@@ -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 <C> Concrete context type
  *
index 9cce62352326336bd7028f4ca391ca167b16be53..324b88f00a014b881a9ceba89a8a184028cb72bc 100644 (file)
@@ -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
+}
index 688077546111bf37b097bb54f034959938924d9d..c367368d6306b635bf39efc18990d1b4884712c0 100644 (file)
@@ -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.