mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 00:05:57 +10:00
[유치수] [NOBTS] remove unnecessary endpoint variable.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@567 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -7,7 +7,7 @@ import com.profiler.util.NamedThreadLocal;
|
||||
* @author netspider
|
||||
*
|
||||
*/
|
||||
public class Trace {
|
||||
public final class Trace {
|
||||
|
||||
private static final DeadlineSpanMap spanMap = new DeadlineSpanMap();
|
||||
|
||||
@@ -97,7 +97,7 @@ public class Trace {
|
||||
mutate(getTraceId(), new SpanUpdater() {
|
||||
@Override
|
||||
public Span updateSpan(Span span) {
|
||||
span.addAnnotation(new HippoBinaryAnnotation(System.currentTimeMillis(), key, value, span.getEndPoint(), null));
|
||||
span.addAnnotation(new HippoBinaryAnnotation(System.currentTimeMillis(), key, value, null));
|
||||
return span;
|
||||
}
|
||||
});
|
||||
@@ -145,7 +145,7 @@ public class Trace {
|
||||
mutate(getTraceId(), new SpanUpdater() {
|
||||
@Override
|
||||
public Span updateSpan(Span span) {
|
||||
span.addAnnotation(new HippoAnnotation(System.currentTimeMillis(), value, span.getEndPoint(), duration));
|
||||
span.addAnnotation(new HippoAnnotation(System.currentTimeMillis(), value, duration));
|
||||
return span;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user