From 6053fa58bb6f32f372dbad0495e86457b4d22c7e Mon Sep 17 00:00:00 2001 From: Hussain Kara Fallah Date: Fri, 8 Nov 2024 14:33:33 +0200 Subject: [PATCH] happy-checkstyle --- .../main/java/com/transferwise/common/context/TwContext.java | 2 +- .../common/context/TwContextThreadLocalAccessor.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tw-context/src/main/java/com/transferwise/common/context/TwContext.java b/tw-context/src/main/java/com/transferwise/common/context/TwContext.java index e7aa0d9..f2d6786 100644 --- a/tw-context/src/main/java/com/transferwise/common/context/TwContext.java +++ b/tw-context/src/main/java/com/transferwise/common/context/TwContext.java @@ -3,6 +3,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.util.concurrent.RateLimiter; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +import io.micrometer.context.ContextRegistry; import java.util.HashMap; import java.util.Iterator; import java.util.List; @@ -12,7 +13,6 @@ import java.util.function.Function; import java.util.function.Supplier; import javax.annotation.Nonnull; -import io.micrometer.context.ContextRegistry; import lombok.Getter; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; diff --git a/tw-context/src/main/java/com/transferwise/common/context/TwContextThreadLocalAccessor.java b/tw-context/src/main/java/com/transferwise/common/context/TwContextThreadLocalAccessor.java index 286341d..bd101e7 100644 --- a/tw-context/src/main/java/com/transferwise/common/context/TwContextThreadLocalAccessor.java +++ b/tw-context/src/main/java/com/transferwise/common/context/TwContextThreadLocalAccessor.java @@ -1,9 +1,9 @@ package com.transferwise.common.context; -import io.micrometer.context.ThreadLocalAccessor; - import static com.transferwise.common.context.UnitOfWork.TW_CONTEXT_KEY; +import io.micrometer.context.ThreadLocalAccessor; + public class TwContextThreadLocalAccessor implements ThreadLocalAccessor { @Override