Rename IntentBatchPreprocess to make its name consistent with behavior
Remove "Pre" from the name
Change-Id: I87da1d9e0f4308ff6a545012c26b6618b8415338
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 3c2b413..dd25015 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
@@ -283,11 +283,11 @@
return workerExecutor.submit(new IntentWorker(initial));
}
- private class IntentBatchPreprocess implements Runnable {
+ private class IntentBatchProcess implements Runnable {
protected final Collection<IntentData> data;
- IntentBatchPreprocess(Collection<IntentData> data) {
+ IntentBatchProcess(Collection<IntentData> data) {
this.data = checkNotNull(data);
}
@@ -345,7 +345,7 @@
public void execute(Collection<IntentData> operations) {
log.debug("Execute {} operation(s).", operations.size());
log.trace("Execute operations: {}", operations);
- batchExecutor.execute(new IntentBatchPreprocess(operations));
+ batchExecutor.execute(new IntentBatchProcess(operations));
// TODO ensure that only one batch is in flight at a time
}
}