Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
diff --git a/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java b/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
index 16caa01..5a21de0 100644
--- a/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
+++ b/drivers/arista/src/main/java/org/onosproject/drivers/arista/DeviceDescriptionDiscoveryAristaImpl.java
@@ -136,7 +136,7 @@
});
} catch (IOException e) {
- log.warn("IO exception occured because of ", e);
+ log.warn("IO exception occurred because of ", e);
}
return ports;
}
diff --git a/drivers/cisco/netconf/src/main/java/org/onosproject/drivers/cisco/TextBlockParserCisco.java b/drivers/cisco/netconf/src/main/java/org/onosproject/drivers/cisco/TextBlockParserCisco.java
index 0e9e31f..6e0be07 100644
--- a/drivers/cisco/netconf/src/main/java/org/onosproject/drivers/cisco/TextBlockParserCisco.java
+++ b/drivers/cisco/netconf/src/main/java/org/onosproject/drivers/cisco/TextBlockParserCisco.java
@@ -210,7 +210,7 @@
}
/**
- * Parses the text and seperates to Parent Interfaces.
+ * Parses the text and separates to Parent Interfaces.
* @param interfacesReply the interfaces as plain text
* @return Parent interface
*/
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2Pipeline.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2Pipeline.java
index c307456..cc85cbf 100644
--- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2Pipeline.java
+++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/ofdpa/Ofdpa2Pipeline.java
@@ -402,7 +402,7 @@
if (assignedVlan == null) {
log.error("Driver fails to extract VLAN information. "
- + "Not proccessing VLAN filters on device {}.", deviceId);
+ + "Not processing VLAN filters on device {}.", deviceId);
log.debug("VLAN ID in criterion={}, metadata={}",
readVlanFromTreatment(filt.meta()), vidCriterion.vlanId());
fail(filt, ObjectiveError.BADPARAMS);
diff --git a/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuT100DeviceDescription.java b/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuT100DeviceDescription.java
index 1b0b902..32dd5cd 100644
--- a/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuT100DeviceDescription.java
+++ b/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuT100DeviceDescription.java
@@ -126,7 +126,7 @@
HierarchicalConfiguration otuConfig = cfg.configurationAt("otu");
boolean enabled = "up".equals(otuConfig.getString("administrative-state"));
OduSignalType signalType = "OTU4".equals(otuConfig.getString("rate")) ? OduSignalType.ODU4 : null;
- //Unsure how to retreive, outside knowledge it is tunable.
+ //Unsure how to retrieve, outside knowledge it is tunable.
boolean isTunable = true;
OchSignal lambda = new OchSignal(GridType.DWDM, ChannelSpacing.CHL_50GHZ, 0, 4);
DefaultAnnotations annotations = DefaultAnnotations.builder().
diff --git a/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuVoltAlarmConsumer.java b/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuVoltAlarmConsumer.java
index b0ffc6a..f0ae5fe 100644
--- a/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuVoltAlarmConsumer.java
+++ b/drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/FujitsuVoltAlarmConsumer.java
@@ -280,7 +280,7 @@
try {
Date date = dateFormat.parse(strDate + SPACE + strTime);
timeRaised = date.getTime();
- log.debug("{} {} coverted to {}", strDate, strTime, timeRaised);
+ log.debug("{} {} converted to {}", strDate, strTime, timeRaised);
return timeRaised;
} catch (ParseException e) {
log.error("Cannot parse exception {} {} {}", strDate, strTime, e);
diff --git a/drivers/lisp/src/main/java/org/onosproject/drivers/lisp/extensions/LispGcAddress.java b/drivers/lisp/src/main/java/org/onosproject/drivers/lisp/extensions/LispGcAddress.java
index 0f371dd..88eafd2 100644
--- a/drivers/lisp/src/main/java/org/onosproject/drivers/lisp/extensions/LispGcAddress.java
+++ b/drivers/lisp/src/main/java/org/onosproject/drivers/lisp/extensions/LispGcAddress.java
@@ -387,7 +387,7 @@
/**
* Sets mapping address.
*
- * @param address mapping addres
+ * @param address mapping address
* @return Builder object
*/
public Builder withAddress(MappingAddress address) {
diff --git a/drivers/oplink/src/main/java/org/onosproject/drivers/oplink/OplinkOpticalProtectionSwitchConfig.java b/drivers/oplink/src/main/java/org/onosproject/drivers/oplink/OplinkOpticalProtectionSwitchConfig.java
index cb3c37d..677d694 100644
--- a/drivers/oplink/src/main/java/org/onosproject/drivers/oplink/OplinkOpticalProtectionSwitchConfig.java
+++ b/drivers/oplink/src/main/java/org/onosproject/drivers/oplink/OplinkOpticalProtectionSwitchConfig.java
@@ -272,7 +272,7 @@
Set<Link> links = handler().get(LinkService.class).getIngressLinks(dstCp);
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();
}
}
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();
}
}