You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/03/14 08:11:15 UTC

[incubator-skywalking] branch async-context updated: Fix two javadoc

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch async-context
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/async-context by this push:
     new b3e0435  Fix two javadoc
b3e0435 is described below

commit b3e043569c3d7bd1594ea19e6804bc1be2fa82cd
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Mar 14 16:11:07 2019 +0800

    Fix two javadoc
---
 .../skywalking/apm/agent/core/context/AbstractTracerContext.java       | 2 ++
 .../java/org/apache/skywalking/apm/agent/core/context/AsyncSpan.java   | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AbstractTracerContext.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AbstractTracerContext.java
index 1b3a93b..e9e1ed0 100644
--- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AbstractTracerContext.java
+++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AbstractTracerContext.java
@@ -103,6 +103,8 @@ public interface AbstractTracerContext {
 
     /**
      * Notify this context, current span is going to be finished async in another thread.
+     *
+     * @return The current context
      */
     AbstractTracerContext awaitFinishAsync();
 
diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AsyncSpan.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AsyncSpan.java
index f667f59..8b3e81d 100644
--- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AsyncSpan.java
+++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AsyncSpan.java
@@ -32,7 +32,8 @@ public interface AsyncSpan {
      * The span finish at current tracing context, but the current span is still alive, until {@link #asyncFinish}
      * called.
      *
-     * This method must be called<br/>
+     * This method must be called
+     * 
      * 1. In original thread(tracing context).
      * 2. Current span is active span.
      *