mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed unnecessary interace methods from Device Manager
This commit is contained in:
parent
53f2c555c4
commit
64d656b5e7
@ -389,8 +389,7 @@ public class DeviceTypeManager implements DeviceManager {
|
||||
return requiredDeviceTypeAuthorization;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlatformConfiguration getDefaultConfiguration() throws DeviceManagementException {
|
||||
private PlatformConfiguration getDefaultConfiguration() throws DeviceManagementException {
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Loading default " + deviceType + " platform configuration from " + deviceType +
|
||||
|
||||
@ -157,13 +157,4 @@ public interface DeviceManager {
|
||||
*/
|
||||
boolean requireDeviceAuthorization();
|
||||
|
||||
/**
|
||||
* This method returns the default configuration values which is stored in the configuration file
|
||||
* rather than fetching from the registry.
|
||||
*
|
||||
* @return Returns Default PlatformConfiguration
|
||||
* @throws DeviceManagementException
|
||||
*/
|
||||
PlatformConfiguration getDefaultConfiguration() throws DeviceManagementException;
|
||||
|
||||
}
|
||||
|
||||
@ -121,9 +121,4 @@ public class TestDeviceManager implements DeviceManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlatformConfiguration getDefaultConfiguration() throws DeviceManagementException {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user