From bf8a1600e568b6f5235ad71253b86f4848a8dd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Wed, 31 Dec 2025 10:33:56 +0100 Subject: [PATCH] Add missing override annotations to PropagationContextElement Closes gh-36087 --- .../org/springframework/core/PropagationContextElement.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-core/src/main/java/org/springframework/core/PropagationContextElement.java b/spring-core/src/main/java/org/springframework/core/PropagationContextElement.java index 9a2addad645..d78d2f66ca6 100644 --- a/spring-core/src/main/java/org/springframework/core/PropagationContextElement.java +++ b/spring-core/src/main/java/org/springframework/core/PropagationContextElement.java @@ -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) {