Github user mosermw commented on the pull request:
https://github.com/apache/nifi/pull/246#issuecomment-190377532
When a PropertyDescriptor does not have a .displayName() set, then the
.name() is used in the UI. There was a time when .displayName() did not exist
and .name() displayed in the UI, so that's why you see many standard processors
that do not use displayName. displayName was added so that you could change
the name used in the UI without breaking backward compatibility in the flow.xml.
So the original comment from @alopresto represents the latest best practice
for NiFi processor development.
---
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.
---