remove useless api method
This commit is contained in:
parent
445e9dac77
commit
352e10e4c6
|
@ -38,10 +38,6 @@ public class DDSpan implements io.opentracing.Span {
|
||||||
this.durationNano = System.nanoTime() - startTime;
|
this.durationNano = System.nanoTime() - startTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void finishWithDuration(long durationNano) {
|
|
||||||
this.durationNano = durationNano;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void finish(long stopTime) {
|
public void finish(long stopTime) {
|
||||||
this.durationNano = startTime - stopTime;
|
this.durationNano = startTime - stopTime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue