Skip to content

Commit

Permalink
Fix Javadoc in SpanHandler (#1293)
Browse files Browse the repository at this point in the history
A link was missing the `@` marker and thus would not render correctly. Additionally, 'abrupt' was unconventionally used as a verb ; replaced it with 'disrupt'.
  • Loading branch information
rewolf authored Dec 15, 2023
1 parent b95cbf9 commit bad97d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brave/src/main/java/brave/handler/SpanHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
*
* <p>A {@link TraceContext} could be recorded twice, for example, if a long operation
* began, called {@link Span#flush()} (recording 1) and later called {@link Span#finish()}
* (recording 2). A {@link TraceContext} could be abrupted by garbage collection resulting in a
* (recording 2). A {@link TraceContext} could be disrupted by garbage collection resulting in a
* {@link Cause#ABANDONED}. A user could even {@linkplain Cause#ABANDONED abandon} a span without
* recording anything!
*
* <p>Collectors that process finished spans will need to look at the {link Cause} and {@link
* <p>Collectors that process finished spans will need to look at the {@link Cause} and {@link
* MutableSpan} collected. For example, {@link Cause#FINISHED} is usually a good enough heuristic to
* find complete spans.
*
Expand Down

0 comments on commit bad97d4

Please sign in to comment.