diff --git a/spring-cloud-sleuth.html b/spring-cloud-sleuth.html
index d10658333..69991bc29 100644
--- a/spring-cloud-sleuth.html
+++ b/spring-cloud-sleuth.html
@@ -994,20 +994,20 @@ Let’s assume that the parent of a span is in one thread and you want to st
// let's assume that we're in a thread Y and we've received
// the `initialSpan` from thread X. `initialSpan` will be the parent
-// of the `joinedSpan`
-Span joinedSpan = this.tracer.createSpan("calculateCommission", initialSpan);
+// of the `newSpan`
+Span newSpan = this.tracer.createSpan("calculateCommission", initialSpan);
try {
// ...
// You can tag a span
this.tracer.addTag("commissionValue", commissionValue);
// ...
// You can log an event on a span
- joinedSpan.logEvent("commissionCalculated");
+ newSpan.logEvent("commissionCalculated");
} finally {
// Once done remember to close the span. This will allow collecting
// the span to send it to Zipkin. The tags and events set on the
- // joinedSpan will not be present on the parent
- this.tracer.close(joinedSpan);
+ // newSpan will not be present on the parent
+ this.tracer.close(newSpan);
}
@@ -1253,7 +1253,7 @@ the number of dropped spans will get increased.