Commit fc78ef57 authored by Cristina Cocho's avatar Cristina Cocho
Browse files

In relation to GUI crash of scan script

parent 3eb48b17
......@@ -963,4 +963,17 @@ public class PropertyManager {
}
}
public boolean propertyExists(boolean isDynamic, String controllerType, String propertyName) {
boolean exists = false;
if (isDynamic) {
// remove indice
String genericPropertyName = propertyName.substring(0, propertyName.indexOf("."));
exists = dynamicPropertiesByControllerType.get(controllerType).containsKey(propertyName);
} else {
exists = propertiesByControllerType.get(controllerType).containsKey(propertyName);
}
return exists;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment