mirror of https://github.com/apache/nifi.git
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.setName(original.getName());
|
||||
copy.setProperties(copy(original.getProperties()));
|
||||
copy.setReferencedAttributes(new HashSet<>(original.getReferencedAttributes()));
|
||||
copy.setReferencedAttributes(copy(original.getReferencedAttributes()));
|
||||
copy.setReferencingComponents(copy(original.getReferencingComponents()));
|
||||
copy.setState(original.getState());
|
||||
copy.setType(original.getType());
|
||||
|
|
Loading…
Reference in New Issue