Merge pull request #742 from milanperera/iot-master

Removed unnecessary interace methods from Device Manager
This commit is contained in:
Amal Gunatilake 2017-05-22 15:27:41 +05:30 committed by GitHub
commit 3f7543bee8
3 changed files with 1 additions and 16 deletions

View File

@ -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 +

View File

@ -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;
}

View File

@ -121,9 +121,4 @@ public class TestDeviceManager implements DeviceManager {
return false;
}
@Override
public PlatformConfiguration getDefaultConfiguration() throws DeviceManagementException {
return null;
}
}