mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing property string mapper issue
This commit is contained in:
parent
1b5bae3e46
commit
529bde822c
@ -241,7 +241,7 @@ public class DeviceTypePluginDAO {
|
||||
|
||||
private String getPropertString(List<Device.Property> properties, String propertyName) {
|
||||
for (Device.Property property : properties) {
|
||||
if (property.getName().equals(propertyName)) {
|
||||
if (property.getName() != null && property.getName().equals(propertyName)) {
|
||||
return property.getValue();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user