Fix typos detected by Frank Wang
Change-Id: I86b2e302569eff89d7051321a4531c7e0dc242f9
(cherry picked from commit c108a6b5d22adaa6247783b9714b7d5cf80749c4)
diff --git a/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpController.java b/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpController.java
index b5cfe5a..a8520ce 100644
--- a/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpController.java
+++ b/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpController.java
@@ -151,7 +151,7 @@
Set<BgpLinkListener> linkListener();
/**
- * Stores the exceptions occured during an active session.
+ * Stores the exceptions occurred during an active session.
*
* @param peerId BGP peer id
* @param exception exceptions based on the peer id.
@@ -159,7 +159,7 @@
void activeSessionExceptionAdd(String peerId, String exception);
/**
- * Stores the exceptions occured during an closed session.
+ * Stores the exceptions occurred during an closed session.
*
* @param peerId BGP peer id
* @param exception exceptions based on the peer id
diff --git a/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpLocalRib.java b/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpLocalRib.java
index c28a4ad..f30a2dc 100644
--- a/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpLocalRib.java
+++ b/protocols/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpLocalRib.java
@@ -48,7 +48,7 @@
void delete(BgpLSNlri nlri) throws BgpParseException;
/**
- * Update NLRI identifier mapped with route distinguisher if it exists in tree otherwise add NLRI infomation mapped
+ * Update NLRI identifier mapped with route distinguisher if it exists in tree otherwise add NLRI information mapped
* to respective route distinguisher.
*
* @param sessionInfo BGP session info