Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit be3f110

Browse files
authored
Expose public singleton instance of NoopTracer (#39)
1 parent 24be419 commit be3f110

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opentracing-impl/src/main/java/io/opentracing/NoopTracer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
public final class NoopTracer implements Tracer {
1919

20+
public final static NoopTracer INSTANCE = new NoopTracer();
21+
2022
@Override
2123
public SpanBuilder buildSpan(String operationName) {
2224
return NoopSpanBuilder.INSTANCE;

0 commit comments

Comments
 (0)