Committed by
Gerrit Code Review
Rename IntentBatchPreprocess to make its name consistent with behavior
Remove "Pre" from the name Change-Id: I87da1d9e0f4308ff6a545012c26b6618b8415338
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -283,11 +283,11 @@ public class IntentManager | ... | @@ -283,11 +283,11 @@ public class IntentManager |
283 | return workerExecutor.submit(new IntentWorker(initial)); | 283 | return workerExecutor.submit(new IntentWorker(initial)); |
284 | } | 284 | } |
285 | 285 | ||
286 | - private class IntentBatchPreprocess implements Runnable { | 286 | + private class IntentBatchProcess implements Runnable { |
287 | 287 | ||
288 | protected final Collection<IntentData> data; | 288 | protected final Collection<IntentData> data; |
289 | 289 | ||
290 | - IntentBatchPreprocess(Collection<IntentData> data) { | 290 | + IntentBatchProcess(Collection<IntentData> data) { |
291 | this.data = checkNotNull(data); | 291 | this.data = checkNotNull(data); |
292 | } | 292 | } |
293 | 293 | ||
... | @@ -345,7 +345,7 @@ public class IntentManager | ... | @@ -345,7 +345,7 @@ public class IntentManager |
345 | public void execute(Collection<IntentData> operations) { | 345 | public void execute(Collection<IntentData> operations) { |
346 | log.debug("Execute {} operation(s).", operations.size()); | 346 | log.debug("Execute {} operation(s).", operations.size()); |
347 | log.trace("Execute operations: {}", operations); | 347 | log.trace("Execute operations: {}", operations); |
348 | - batchExecutor.execute(new IntentBatchPreprocess(operations)); | 348 | + batchExecutor.execute(new IntentBatchProcess(operations)); |
349 | // TODO ensure that only one batch is in flight at a time | 349 | // TODO ensure that only one batch is in flight at a time |
350 | } | 350 | } |
351 | } | 351 | } | ... | ... |
-
Please register or login to post a comment