Merge pull request #835 from geethkokila/master

Fixing the null pointer
4.x.x
Madhawa Perera 8 years ago committed by GitHub
commit 2bd79e2dc3

@ -241,11 +241,13 @@ public class DeviceTypePluginDAOImpl implements PluginDAO{
}
private String getPropertString(List<Device.Property> properties, String propertyName) {
if (properties != null) {
for (Device.Property property : properties) {
if (property.getName() != null && property.getName().equals(propertyName)) {
return property.getValue();
}
}
}
return null;
}

Loading…
Cancel
Save