Reset some codes.
This commit is contained in:
parent
d69500a40a
commit
a7f0f0d5a9
|
|
@ -1,15 +0,0 @@
|
|||
package org.skywalking.apm.sniffer.mock.trace.tag;
|
||||
|
||||
import org.skywalking.apm.trace.Span;
|
||||
import org.skywalking.apm.trace.tag.BooleanTag;
|
||||
|
||||
/**
|
||||
* Test case util for getting the {@link Boolean} type of the tag value.
|
||||
*
|
||||
* @author wusheng
|
||||
*/
|
||||
public class BooleanTagGetter {
|
||||
public static Boolean get(Span span, BooleanTag tag) {
|
||||
return span.getBoolTag(tag.key());
|
||||
}
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
package org.skywalking.apm.sniffer.mock.trace.tag;
|
||||
|
||||
import org.skywalking.apm.trace.Span;
|
||||
import org.skywalking.apm.trace.tag.IntTag;
|
||||
|
||||
/**
|
||||
* Test case util for getting the {@link Integer} type of the tag value.
|
||||
*
|
||||
* @author wusheng
|
||||
*/
|
||||
public class IntTagGetter {
|
||||
public static Integer get(Span span, IntTag tag) {
|
||||
return span.getIntTag(tag.key());
|
||||
}
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
package org.skywalking.apm.sniffer.mock.trace.tag;
|
||||
|
||||
import org.skywalking.apm.trace.Span;
|
||||
import org.skywalking.apm.trace.tag.StringTag;
|
||||
|
||||
/**
|
||||
* Test case util for getting the {@link String} type of the tag value.
|
||||
*
|
||||
* @author wusheng
|
||||
*/
|
||||
public class StringTagGetter {
|
||||
public static String get(Span span, StringTag tag) {
|
||||
return span.getStrTag(tag.key());
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue