Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
diff --git a/drivers/optical/src/main/java/org/onosproject/driver/optical/protection/OplinkSwitchProtection.java b/drivers/optical/src/main/java/org/onosproject/driver/optical/protection/OplinkSwitchProtection.java
index 250c155..9ea408b 100644
--- a/drivers/optical/src/main/java/org/onosproject/driver/optical/protection/OplinkSwitchProtection.java
+++ b/drivers/optical/src/main/java/org/onosproject/driver/optical/protection/OplinkSwitchProtection.java
@@ -92,7 +92,7 @@
//add flow from client port to virtual port. This set device in auto switch mode
addFlow(PortNumber.portNumber(VIRTUAL_PORT));
- //add a virtual link bewteen two virtual ports of this device and peer
+ //add a virtual link between two virtual ports of this device and peer
addLinkToPeer(configuration.peer());
result.complete(new ConnectPoint(data().deviceId(), PortNumber.portNumber(VIRTUAL_PORT)));
@@ -118,7 +118,7 @@
CompletableFuture result = new CompletableFuture<Boolean>();
if (identifier.port().toLong() == VIRTUAL_PORT) {
- //add a link bewteen two virtual ports of this device and peer
+ //add a link between two virtual ports of this device and peer
removeLinkToPeer(getPeerId());
deleteFlow();
result.complete(true);
@@ -366,7 +366,7 @@
for (Link l : links) {
if (l.type() == Link.Type.VIRTUAL) {
- // this devide is the destination and peer is the source.
+ // this device is the destination and peer is the source.
return l.src().deviceId();
}
}