Update ContextManager.java

This commit is contained in:
吴晟 Wu Sheng 2017-07-10 15:28:06 +08:00 committed by GitHub
parent 3fc4ba44fc
commit 62981fb0a1
1 changed files with 2 additions and 2 deletions

View File

@ -123,11 +123,11 @@ public class ContextManager implements TracingContextListener, BootService, Igno
}
}
public ContextSnapshot capture() {
public static ContextSnapshot capture() {
return get().capture();
}
public void continued(ContextSnapshot snapshot) {
public static void continued(ContextSnapshot snapshot) {
if (snapshot == null) {
throw new IllegalArgumentException("ContextSnapshot can't be null.");
}