Remove unused method/constructor/fields/constants
Change-Id: I38d77cf30ab9948acd74d24fcc15c65749fc347b
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
index 8f46833..981b096 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
@@ -286,28 +286,10 @@
private class IntentBatchPreprocess implements Runnable {
- // TODO make this configurable
- private static final int TIMEOUT_PER_OP = 500; // ms
- protected static final int MAX_ATTEMPTS = 3;
-
protected final Collection<IntentData> data;
- // future holding current FlowRuleBatch installation result
- protected final long startTime = System.currentTimeMillis();
- protected final long endTime;
-
- private IntentBatchPreprocess(Collection<IntentData> data, long endTime) {
+ IntentBatchPreprocess(Collection<IntentData> data) {
this.data = checkNotNull(data);
- this.endTime = endTime;
- }
-
- public IntentBatchPreprocess(Collection<IntentData> data) {
- this(data, System.currentTimeMillis() + data.size() * TIMEOUT_PER_OP);
- }
-
- // FIXME compute reasonable timeouts
- protected long calculateTimeoutLimit() {
- return System.currentTimeMillis() + data.size() * TIMEOUT_PER_OP;
}
@Override