Fixed minor typo in ShortestPathIntent field that was output into JSON
Change-Id: Ieeba234fdbcd339e9636d96d6f9c79a12cb96dd5
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 1d5606f..424d720 100644
--- a/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java
+++ b/src/main/java/net/onrc/onos/core/intent/ShortestPathIntent.java
@@ -21,7 +21,7 @@
protected int idleTimeout;
protected int hardTimeout;
protected int firstSwitchIdleTimeout;
- protected int firstSwitchHardTimetout;
+ protected int firstSwitchHardTimeout;
/**
* Default constructor for Kryo deserialization.
@@ -152,7 +152,7 @@
// TODO - this is intended to be refactored and removed
public int getFirstSwitchHardTimetout() {
- return firstSwitchHardTimetout;
+ return firstSwitchHardTimeout;
}
// TODO - this is intended to be refactored and removed
@@ -162,7 +162,7 @@
// TODO - this is intended to be refactored and removed
public void setFirstSwitchHardTimetout(int firstSwitchHardTimetout) {
- this.firstSwitchHardTimetout = firstSwitchHardTimetout;
+ this.firstSwitchHardTimeout = firstSwitchHardTimetout;
}
@Override