From d36a9267c85a7df4b17ff8628430d77e8702818f Mon Sep 17 00:00:00 2001 From: wudashan Date: Sat, 21 Apr 2018 14:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8MDCUtil=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/wudashan/executor/MDCRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/wudashan/executor/MDCRunnable.java b/src/main/java/cn/wudashan/executor/MDCRunnable.java index d1d43db..077f26e 100644 --- a/src/main/java/cn/wudashan/executor/MDCRunnable.java +++ b/src/main/java/cn/wudashan/executor/MDCRunnable.java @@ -18,7 +18,7 @@ public class MDCRunnable implements Runnable { public MDCRunnable(Runnable runnable) { this.runnable = runnable; // 保存当前线程的MDC值 - this.map = MDC.getCopyOfContextMap(); + this.map = MDCUtil.getCopyOfContextMap(); } @Override