Skip to content
Snippets Groups Projects
Commit fc78ef57 authored by Cristina Cocho's avatar Cristina Cocho
Browse files

In relation to GUI crash of scan script

parent 3eb48b17
Branches
Tags
No related merge requests found
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment