Revert 2 changes unrelated to BAEL-7074

This commit is contained in:
Michael Pratt 2023-11-03 13:10:24 -06:00
parent 38f30e733f
commit 1aa2f849f4
2 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ public class RetryCompletableFuture {
CompletableFuture<T> cf = CompletableFuture.supplyAsync(supplier);
sleep(100);
for (int i = 0; i < maxRetries; i++) {
//cf = cf.exceptionallyAsync(__ -> supplier.get());
cf = cf.exceptionallyAsync(__ -> supplier.get());
}
return cf;
}

View File

@ -20,9 +20,9 @@ public class CustomCompletableFuture<T> extends CompletableFuture<T> {
return future;
}
// @Override
// public Executor defaultExecutor() {
// return executor;
// }
@Override
public Executor defaultExecutor() {
return executor;
}
}