yurishkuro / opentracing-tutorial

A collection of tutorials for the OpenTracing API
Apache License 2.0
1.57k stars 407 forks source link

java-lesson02: Inconsistent calls to startActive() #16

Closed eest closed 6 years ago

eest commented 6 years ago

In the lesson text only sayHello() uses startActive(true), while formatString() and printHello() calls startActive(). The solution file HelloActive.java calls startActive(true) in all functions. Which is the correct usage?

yurishkuro commented 6 years ago

startActive(true) is correct, thanks for reporting it.