exceptionfactory commented on code in PR #11267:
URL: https://github.com/apache/nifi/pull/11267#discussion_r3335415571
##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java:
##########
@@ -1882,14 +1882,14 @@ public void synchronize(final ParameterContext
parameterContext, final Versioned
}
private void collectValueAndReferences(final ParameterContext
parameterContext, final Map<String, ParameterValueAndReferences> valueAndRef) {
- parameterContext.getEffectiveParameters()
+ parameterContext.getRawEffectiveParameters()
.forEach((pd, param) -> valueAndRef.put(pd.getName(),
getValueAndReferences(param)));
}
protected Set<String> getUpdatedParameterNames(final ParameterContext
parameterContext, final VersionedParameterContext proposed) {
final Map<String, ParameterValueAndReferences> originalValues = new
HashMap<>();
collectValueAndReferences(parameterContext, originalValues);
- parameterContext.getEffectiveParameters().forEach((pd, param) ->
originalValues.put(pd.getName(), getValueAndReferences(param)));
+ parameterContext.getRawEffectiveParameters().forEach((pd, param) ->
originalValues.put(pd.getName(), getValueAndReferences(param)));
Review Comment:
Is this call still needed? It appears to be doing the same thing as the
`collectValueAndReferences` method?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]