[유치수] [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:
Chisu Yu
2012-09-04 02:33:08 +00:00
parent 455f9c3bba
commit 01fd165bda
6 changed files with 9 additions and 32 deletions
@@ -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;
}
});