diff --git a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeListener.java b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeListener.java index ebfdff3c..55d263ad 100644 --- a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeListener.java +++ b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeListener.java @@ -23,6 +23,7 @@ public interface BatchDataExchangeListener extends DataExchangeListener * 子数据交换提交失败。 * * @param subDataExchange + * @param cause */ void onSubmitFail(SubDataExchange subDataExchange); diff --git a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeService.java b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeService.java index 54e76123..fe7a4b3c 100644 --- a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeService.java +++ b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/BatchDataExchangeService.java @@ -9,7 +9,6 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.datagear.dataexchange.support.AbstractDevotedDataExchangeService; -import org.datagear.dataexchange.support.DefaultBatchDataExchangeContext; /** * 批量数据交换服务。 diff --git a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/support/DefaultBatchDataExchangeContext.java b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/DefaultBatchDataExchangeContext.java similarity index 93% rename from datagear-dataexchange/src/main/java/org/datagear/dataexchange/support/DefaultBatchDataExchangeContext.java rename to datagear-dataexchange/src/main/java/org/datagear/dataexchange/DefaultBatchDataExchangeContext.java index 45449bea..384a7dea 100644 --- a/datagear-dataexchange/src/main/java/org/datagear/dataexchange/support/DefaultBatchDataExchangeContext.java +++ b/datagear-dataexchange/src/main/java/org/datagear/dataexchange/DefaultBatchDataExchangeContext.java @@ -2,7 +2,7 @@ * Copyright (c) 2018 datagear.org. All Rights Reserved. */ -package org.datagear.dataexchange.support; +package org.datagear.dataexchange; import java.util.HashSet; import java.util.Iterator; @@ -12,11 +12,6 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.FutureTask; import java.util.concurrent.atomic.AtomicBoolean; -import org.datagear.dataexchange.BatchDataExchangeContext; -import org.datagear.dataexchange.BatchDataExchangeListener; -import org.datagear.dataexchange.DataExchange; -import org.datagear.dataexchange.DataExchangeService; -import org.datagear.dataexchange.SubDataExchange; import org.slf4j.Logger; import org.slf4j.LoggerFactory;