pvillard31 commented on code in PR #9714:
URL: https://github.com/apache/nifi/pull/9714#discussion_r1952508417


##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java:
##########
@@ -2335,8 +2335,7 @@ private void addMissingConfiguration(final 
VersionedParameterContext versionedPa
 
         // If the current parameter context doesn't have any inherited param 
contexts but the versioned one does,
         // add the versioned ones.
-        if (versionedParameterContext.getInheritedParameterContexts() != null 
&& !versionedParameterContext.getInheritedParameterContexts().isEmpty()
-            && 
currentParameterContext.getInheritedParameterContexts().isEmpty()) {
+        if (versionedParameterContext.getInheritedParameterContexts() != null 
&& !versionedParameterContext.getInheritedParameterContexts().isEmpty()){

Review Comment:
   ```suggestion
           if (versionedParameterContext.getInheritedParameterContexts() != 
null && !versionedParameterContext.getInheritedParameterContexts().isEmpty()) {
   ```



-- 
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]

Reply via email to