fix obvious bug code.

This commit is contained in:
wusheng 2016-11-20 12:07:22 +08:00
parent 43ca1a0ee7
commit ac827cfff0
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import java.util.List;
public class SpanDataFinder {
public static List<SpanData> find(TraceId traceId) {
IndexMetaCollection indexMetaCollection = IndexOperateExecutor.execute(new FinderExecutor<IndexMetaCollection>(
IndexMetaCollection indexMetaCollection = IndexOperateExecutor.execute(new FinderExecutor(
traceId.getSegmentsList().toArray(new Long[traceId.getSegmentsCount()])));
if (indexMetaCollection == null) {

View File

@ -15,7 +15,7 @@ public class FinderExecutor implements Executor<IndexMetaCollection> {
}
@Override
public com.a.eye.skywalking.storage.data.index.IndexMetaCollection execute(IndexOperator indexOperator) {
public IndexMetaCollection execute(IndexOperator indexOperator) {
return indexOperator.findIndex(traceIdSegment);
}
}