exceptionfactory commented on code in PR #9967:
URL: https://github.com/apache/nifi/pull/9967#discussion_r2328430871


##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java:
##########
@@ -2802,6 +2819,24 @@ public Set<ComponentDifferenceDTO> 
createComponentDifferenceDtosForLocalModifica
        return differencesByComponent.keySet();
    }
 
+   private static final Pattern DIFFERENCE_DESCRIPTION_PATTERN = 
Pattern.compile(".*artifact='(.*)'.*version='(.*)'].*version='(.*)']'$");

Review Comment:
   Introducing this pattern to reformat the description seems potentially 
brittle. It would be better to either change it elsewhere, or build the 
description using values available from the `FlowDifference`.



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