Reset some codes.

This commit is contained in:
wusheng 2017-06-04 18:05:12 +08:00
parent d69500a40a
commit a7f0f0d5a9
3 changed files with 0 additions and 45 deletions

View File

@ -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());
}
}

View File

@ -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());
}
}

View File

@ -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());
}
}