mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 11:35:05 +00:00
NIFI-9009 NPE defensive code for referenced attributes
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This commit is contained in:
parent
720e7ef353
commit
fa2be2ee63
@ -4145,7 +4145,7 @@ public final class DtoFactory {
|
|||||||
copy.setParentGroupId(original.getParentGroupId());
|
copy.setParentGroupId(original.getParentGroupId());
|
||||||
copy.setName(original.getName());
|
copy.setName(original.getName());
|
||||||
copy.setProperties(copy(original.getProperties()));
|
copy.setProperties(copy(original.getProperties()));
|
||||||
copy.setReferencedAttributes(new HashSet<>(original.getReferencedAttributes()));
|
copy.setReferencedAttributes(copy(original.getReferencedAttributes()));
|
||||||
copy.setReferencingComponents(copy(original.getReferencingComponents()));
|
copy.setReferencingComponents(copy(original.getReferencingComponents()));
|
||||||
copy.setState(original.getState());
|
copy.setState(original.getState());
|
||||||
copy.setType(original.getType());
|
copy.setType(original.getType());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user