mirror of https://github.com/apache/nifi.git
NIFI-309 making sure dynamic property exists
This commit is contained in:
parent
a3e1d3a20b
commit
fd89849f5f
|
@ -409,7 +409,9 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
final DynamicProperty dynProp = configurableComponent.getClass().getAnnotation(DynamicProperty.class);
|
final DynamicProperty dynProp = configurableComponent.getClass().getAnnotation(DynamicProperty.class);
|
||||||
dynamicProperties.add(dynProp);
|
if (dynProp != null) {
|
||||||
|
dynamicProperties.add(dynProp);
|
||||||
|
}
|
||||||
|
|
||||||
return dynamicProperties;
|
return dynamicProperties;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue