return providerClass.newInstance();
} catch (Exception e) {
throw new RuntimeException("base url configuration error for api " + restClientClass, e);
}
}
<BUG>private static <T> T createObject(Class<T> clazz) {
try {
return clazz.newInstance();
} catch (Exception e) {
throw new RuntimeException(e);</BUG>
}

return providerClass.newInstance();
} catch (Exception e) {
throw new RuntimeException("base url configuration error for api " + restClientClass, e);
