* Re-added the method to convert a Device Property list to a Map

revert-70aa11f8
Dulitha Wijewantha 10 years ago
parent 4638d25ff1
commit 4600968d60

@ -132,5 +132,11 @@ public final class DeviceManagerUtil {
deviceType + "'", e);
}
}
public static Map<String, String> convertDevicePropertiesToMap(List<Device.Property> properties) {
Map<String, String> propertiesMap = new HashMap<String, String>();
for (Device.Property prop : properties) {
propertiesMap.put(prop.getName(), prop.getValue());
}
return propertiesMap;
}
}

Loading…
Cancel
Save