added comment

This commit is contained in:
ayyoob 2017-05-24 00:41:21 +05:30
parent a037f91f56
commit 5acf5912e4

View File

@ -131,6 +131,11 @@ public class DeviceTypeManagementServiceImpl implements DeviceTypeManagementServ
} }
} }
/**
* This cleans up the configs that should not be exposed to iot users.
* @param deviceType
* @return
*/
private DeviceType clearMetaEntryInfo(DeviceType deviceType) { private DeviceType clearMetaEntryInfo(DeviceType deviceType) {
DeviceTypeMetaDefinition metaDefinition = deviceType.getDeviceTypeMetaDefinition(); DeviceTypeMetaDefinition metaDefinition = deviceType.getDeviceTypeMetaDefinition();
metaDefinition.setInitialOperationConfig(null); metaDefinition.setInitialOperationConfig(null);