esecules commented on code in PR #11432:
URL: https://github.com/apache/nifi/pull/11432#discussion_r3669917668


##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizer.java:
##########
@@ -1653,11 +1655,13 @@ private Map<String, String> populatePropertiesMap(final 
ComponentNode componentN
                     || (versionedDescriptor != null && 
versionedDescriptor.getIdentifiesControllerService());
                 final boolean sensitive = (descriptor != null && 
descriptor.isSensitive())
                     || (versionedDescriptor != null && 
versionedDescriptor.isSensitive());
-
+                final String proposedValue = 
proposedProperties.get(propertyName);
+                final ParameterParser parameterParser = new 
ExpressionLanguageAgnosticParameterParser();
+                final boolean proposedReferencingParameter = 
parameterParser.parseTokens(proposedValue).iterator().hasNext();

Review Comment:
   Looks like toReferenceList is the one I want anyway, It will filter out 
tokens that are not a parameter reference.



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