提交 62981fb0 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Update ContextManager.java

上级 3fc4ba44
...@@ -123,11 +123,11 @@ public class ContextManager implements TracingContextListener, BootService, Igno ...@@ -123,11 +123,11 @@ public class ContextManager implements TracingContextListener, BootService, Igno
} }
} }
public ContextSnapshot capture() { public static ContextSnapshot capture() {
return get().capture(); return get().capture();
} }
public void continued(ContextSnapshot snapshot) { public static void continued(ContextSnapshot snapshot) {
if (snapshot == null) { if (snapshot == null) {
throw new IllegalArgumentException("ContextSnapshot can't be null."); throw new IllegalArgumentException("ContextSnapshot can't be null.");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册