Skip to content

Commit

Permalink
docs: small wording improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Jun 29, 2022
1 parent ed2712e commit b27ce35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/alibaba/ttl/TtlCallable.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import static com.alibaba.ttl.TransmittableThreadLocal.Transmitter.*;

/**
* {@link TtlCallable} decorate {@link Callable}, so as to get {@link TransmittableThreadLocal}
* {@link TtlCallable} decorate {@link Callable} to get {@link TransmittableThreadLocal} value
* and transmit it to the time of {@link Callable} execution, needed when use {@link Callable} to thread pool.
* <p>
* Use factory method {@link #get(Callable)} to get decorated instance.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/alibaba/ttl/TtlRunnable.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import static com.alibaba.ttl.TransmittableThreadLocal.Transmitter.*;

/**
* {@link TtlRunnable} decorate {@link Runnable}, so as to get {@link TransmittableThreadLocal}
* {@link TtlRunnable} decorate {@link Runnable} to get {@link TransmittableThreadLocal} value
* and transmit it to the time of {@link Runnable} execution, needed when use {@link Runnable} to thread pool.
* <p>
* Use factory methods {@link #get} / {@link #gets} to create instance.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/alibaba/ttl/TtlTimerTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import static com.alibaba.ttl.TransmittableThreadLocal.Transmitter.*;

/**
* {@link TtlTimerTask} decorate {@link TimerTask}, so as to get {@link TransmittableThreadLocal}
* {@link TtlTimerTask} decorate {@link TimerTask} to get {@link TransmittableThreadLocal} value
* and transmit it to the time of {@link TtlTimerTask} execution, needed when use {@link TtlTimerTask} to {@link java.util.TimerTask}.
* <p>
* Use factory method {@link #get(TimerTask)} to create instance.
Expand Down

0 comments on commit b27ce35

Please sign in to comment.