added comment

revert-70aa11f8
ayyoob 7 years ago
parent a037f91f56
commit 5acf5912e4

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

Loading…
Cancel
Save