NIFI-309 making sure dynamic property exists

This commit is contained in:
danbress 2015-03-18 15:30:50 -04:00
parent a3e1d3a20b
commit fd89849f5f
1 changed files with 3 additions and 1 deletions

View File

@ -409,7 +409,9 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
}
final DynamicProperty dynProp = configurableComponent.getClass().getAnnotation(DynamicProperty.class);
if (dynProp != null) {
dynamicProperties.add(dynProp);
}
return dynamicProperties;
}