Mark Payne created NIFI-15486:
---------------------------------
Summary: AssetManager interface should make use of Optionals where
appropriate
Key: NIFI-15486
URL: https://issues.apache.org/jira/browse/NIFI-15486
Project: Apache NiFi
Issue Type: Task
Components: Core Framework
Reporter: Mark Payne
The `AssetManager` interface that lives in `nifi-framework-api` does not use
`Optional` values for return values but most of the classes around it do. As a
result, it can be confusing, making it appears as if the return values cannot
be null when in fact they can. We should update the interface and
implementations to make use of `Optional` to make this clear. See discussion
here for more info: https://github.com/apache/nifi/pull/10779
--
This message was sent by Atlassian Jira
(v8.20.10#820010)