|
@@ -3,7 +3,6 @@ package cn.com.qmth.examcloud.task.service.impl;
|
|
|
import java.lang.reflect.Method;
|
|
|
import java.util.List;
|
|
|
|
|
|
-import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -43,10 +42,6 @@ public class DataSyncServiceImpl implements DataSyncService {
|
|
|
|
|
|
List<String> componentList = RegExpUtil.findAll(group, "[^\\,]+");
|
|
|
|
|
|
- if (CollectionUtils.isEmpty(componentList)) {
|
|
|
- throw new StatusException("T-001001", "no component");
|
|
|
- }
|
|
|
-
|
|
|
boolean successful = true;
|
|
|
for (String component : componentList) {
|
|
|
boolean result = sync(component, methodName, req, retry);
|