Github user trkurc commented on a diff in the pull request:
https://github.com/apache/nifi/pull/169#discussion_r49540453
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/AbstractConfiguredComponent.java
---
@@ -57,6 +57,7 @@ public AbstractConfiguredComponent(final
ConfigurableComponent component, final
this.component = component;
this.validationContextFactory = validationContextFactory;
this.serviceProvider = serviceProvider;
+ this.name = new
AtomicReference<>(component.getClass().getSimpleName());
--- End diff --
@olegz - This "kind of" changes the apparently undocumented behavior of the
name field. It used to be initialized to null, now it is initialized with a
value. Rather than have ```component.getClass().getSimpleName()``` here, would
it make more sense to have ```setName(processor.getClass().getSimpleName());
``` in the constructor of StandardProcessorNode?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---