Skip to content

Commit e440726

Browse files
authored
Update README.md
1 parent 44ef536 commit e440726

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ But before discussing it, it's necessary to explain a difference in each pair of
532532
2. Methods with `RetryRunnable` and `RetryCallable` are contextual and may dynamically alter their behavior for the given iteration depending on the context passed. The `RetryContext` provides provides all necessary iteration-specific information.
533533

534534

535-
## 9. Context variables & contextual Promises
535+
## 8. Context variables & contextual Promises
536536

537537
Ah, those dreaded `TreadLocal`-s we all hate, love to hate, but, neveretheless, use everywhere. It's quite common to store some contextual data (like authenticated user and current locale) inside `ThreadLocal` variables. Sometimes it's a custom code, sometimes the code from third-party library we can't alter.
538538

@@ -582,9 +582,9 @@ httpRequest.raw()
582582
});
583583
```
584584

585-
## 10. Decorators for CompletionStage / CompletableFuture / Promise
585+
## 9. Decorators for CompletionStage / CompletableFuture / Promise
586586

587-
## 11. Extensions to ExecutorService API
587+
## 10. Extensions to ExecutorService API
588588

589589
It’s not mandatory to use any specific subclasses of `Executor` with `CompletableTask` – you may use any implementation. However, someone may find beneficial to have a `Promise`-aware `ExecutorService` API. Below is a list of related classes/interfaces:
590590

0 commit comments

Comments
 (0)