Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* <p>A Context object can be {@linkplain #makeCurrent set} to the {@link ContextStorage}, which
* effectively forms a <b>scope</b> for the context. The scope is bound to the current thread.
* Within a scope, its Context is accessible even across API boundaries, through {@link #current}.
* The scope is later exited by {@link Scope#close()} closing} the scope.
* The scope is later exited by {@linkplain Scope#close() closing} the scope.
*
* <p>Context objects are immutable and inherit state from their parent. To add or overwrite the
* current state a new context object must be created and then attached, replacing the previously
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public Context current() {
*
* <p><em>Note:</em> It is important to close all resources prior to calling this, so that
* in-flight operations are not mistaken as scope leaks. If this raises an error, consider if a
* {@linkplain Context#wrap(Executor)} wrapped executor} is still running.
* {@linkplain Context#wrap(Executor) wrapped executor} is still running.
*
* @throws AssertionError if any scopes were left unclosed.
*/
Expand Down
Loading