refactor: remove unuse dir
This commit is contained in:
parent
f9412fd4d6
commit
610024dd07
@ -120,10 +120,11 @@ public class StartingSpringApplicationRunListener
|
||||
ModuleInitializeReporter.class).values();
|
||||
Set<String> initializingModules = reporters.stream().collect(HashSet::new, (m, v) -> m.add(v.group()), HashSet::addAll);
|
||||
|
||||
for ( ; ; ) {
|
||||
do {
|
||||
for (ModuleInitializeReporter reporter : reporters) {
|
||||
if (reporter.hasException()) {
|
||||
failed(context, new NacosException(NacosException.SERVER_ERROR, reporter.getError()));
|
||||
failed(context, new NacosException(NacosException.SERVER_ERROR,
|
||||
reporter.getError()));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -135,11 +136,8 @@ public class StartingSpringApplicationRunListener
|
||||
}
|
||||
}
|
||||
|
||||
if (initializingModules.isEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
while (!initializingModules.isEmpty());
|
||||
|
||||
closeExecutor();
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
package com.alibaba.nacos.core.utils;
|
||||
|
||||
import com.alibaba.nacos.common.utils.LoggerUtils;
|
||||
import com.alibaba.nacos.common.utils.Pair;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user