mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #4819 , optmize code
This commit is contained in:
@@ -44,7 +44,7 @@ public class ExecutorTemplate {
|
||||
check(future);
|
||||
}
|
||||
|
||||
public void submit(Callable<Exception> task) {
|
||||
public void submit(Callable task) {
|
||||
Future future = executor.submit(task);
|
||||
futures.add(future);
|
||||
check(future);
|
||||
|
||||
Reference in New Issue
Block a user