Add missing override annotations to PropagationContextElement

Closes gh-36087
This commit is contained in:
Sébastien Deleuze
2025-12-31 10:58:43 +01:00
parent 96eee8c8b1
commit bf8a1600e5
@@ -78,10 +78,12 @@ public final class PropagationContextElement extends AbstractCoroutineContextEle
this.threadLocalContextSnapshot = contextSnapshotFactory.captureAll();
}
@Override
public void restoreThreadContext(CoroutineContext context, ContextSnapshot.Scope oldState) {
oldState.close();
}
@Override
public ContextSnapshot.Scope updateThreadContext(CoroutineContext context) {
ContextSnapshot contextSnapshot;
if (coroutinesReactorPresent) {