Code formatting optimization

pull/540/head
chen.ma 2 years ago
parent 547b1c403e
commit 22fc38b1a2

@ -86,8 +86,7 @@ public class DynamicThreadPoolServiceLoader {
private static Object newServiceInstance(final Class<?> clazz) {
try {
return clazz.getDeclaredConstructor().newInstance();
}
catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
} catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
throw new ServiceLoaderInstantiationException(clazz, e);
}
}

Loading…
Cancel
Save