Open this method for test cases.
This commit is contained in:
parent
e7ec6dcc31
commit
42072d8583
|
|
@ -116,7 +116,7 @@ public abstract class ModuleProvider {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked") <T extends Service> T getService(
|
||||
public @SuppressWarnings("unchecked") <T extends Service> T getService(
|
||||
Class<T> serviceType) throws ServiceNotProvidedException {
|
||||
Service serviceImpl = services.get(serviceType);
|
||||
if (serviceImpl != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue