Revert "[VOL-4746] removing sub based on programmed data"
Reverted because of ONUAutoDiscovery test failures in periodic bbsim tests
This reverts commit 89e2f040e1eae7306839ff0bbc61ba7f774d09ef.
Change-Id: Iddc95adf8341572c947abbd024a1bb55fe1e3cab
diff --git a/api/src/main/java/org/opencord/olt/OltFlowsStatus.java b/api/src/main/java/org/opencord/olt/OltFlowsStatus.java
index 64ec224..2b65185 100644
--- a/api/src/main/java/org/opencord/olt/OltFlowsStatus.java
+++ b/api/src/main/java/org/opencord/olt/OltFlowsStatus.java
@@ -41,13 +41,5 @@
/**
* An error occurred.
*/
- ERROR;
-
- /**
- * Checks if this status means the flow is still available or in progress to be available.
- * @return true if the status represents an available flow.
- */
- public boolean hasFlow() {
- return !OltFlowsStatus.NONE.equals(this) && !OltFlowsStatus.REMOVED.equals(this);
- }
+ ERROR
}
\ No newline at end of file