Couple more typos
Change-Id: I43f97057bf0268a4f6a9d1c4c16273a1b5351bf7
diff --git a/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java b/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java
index 424d720..1940daa 100644
--- a/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java
+++ b/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java
@@ -151,7 +151,7 @@
}
// TODO - this is intended to be refactored and removed
- public int getFirstSwitchHardTimetout() {
+ public int getFirstSwitchHardTimeout() {
return firstSwitchHardTimeout;
}
@@ -161,8 +161,8 @@
}
// TODO - this is intended to be refactored and removed
- public void setFirstSwitchHardTimetout(int firstSwitchHardTimetout) {
- this.firstSwitchHardTimeout = firstSwitchHardTimetout;
+ public void setFirstSwitchHardTimeout(int firstSwitchHardTimeout) {
+ this.firstSwitchHardTimeout = firstSwitchHardTimeout;
}
@Override
diff --git a/src/main/java/net/onrc/onos/core/intent/runtime/PlanCalcRuntime.java b/src/main/java/net/onrc/onos/core/intent/runtime/PlanCalcRuntime.java
index 7d2c33d..91ef2ff 100644
--- a/src/main/java/net/onrc/onos/core/intent/runtime/PlanCalcRuntime.java
+++ b/src/main/java/net/onrc/onos/core/intent/runtime/PlanCalcRuntime.java
@@ -95,7 +95,7 @@
idleTimeout = pathIntent.getIdleTimeout();
hardTimeout = pathIntent.getHardTimeout();
firstSwitchIdleTimeout = pathIntent.getFirstSwitchIdleTimeout();
- firstSwitchHardTimeout = pathIntent.getFirstSwitchHardTimetout();
+ firstSwitchHardTimeout = pathIntent.getFirstSwitchHardTimeout();
try {
cookieId = Long.valueOf(pathIntent.getId());
} catch (NumberFormatException e) {