mirror of
https://github.com/apache/nifi.git
synced 2025-02-06 01:58:32 +00:00
NIFI-10584: (#6478)
- Only including dependent values when they are non-null.
This commit is contained in:
parent
504baae227
commit
1e0cb03b41
@ -454,12 +454,12 @@ public class StandardRuntimeManifestBuilder implements RuntimeManifestBuilder {
|
||||
propertyDependency.setPropertyName(dependency.getPropertyName());
|
||||
propertyDependency.setPropertyDisplayName(dependency.getPropertyDisplayName());
|
||||
|
||||
final List<String> values = new ArrayList<>();
|
||||
final DependentValues dependentValues = dependency.getDependentValues();
|
||||
if (dependentValues != null && dependentValues.getValues() != null) {
|
||||
final List<String> values = new ArrayList();
|
||||
values.addAll(dependentValues.getValues());
|
||||
propertyDependency.setDependentValues(values);
|
||||
}
|
||||
propertyDependency.setDependentValues(values);
|
||||
propertyDependencies.add(propertyDependency);
|
||||
}
|
||||
return propertyDependencies;
|
||||
|
Loading…
x
Reference in New Issue
Block a user