mirror of https://github.com/apache/nifi.git
NIFI-12860 Fixed NPE in ExtensionMetadata Constructor
This closes #8468 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
d1b6aab9d3
commit
264ea30bbd
|
@ -34,7 +34,7 @@ public class ExtensionMetadataResult extends AbstractWritableResult<List<Extensi
|
|||
|
||||
public ExtensionMetadataResult(final ResultType resultType, final List<ExtensionMetadata> extensionMetadata) {
|
||||
super(resultType);
|
||||
this.extensionMetadata = Objects.requireNonNull(this.extensionMetadata);
|
||||
this.extensionMetadata = Objects.requireNonNull(extensionMetadata);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue