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


##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/test/java/org/apache/nifi/flow/synchronization/StandardVersionedComponentSynchronizerTest.java:
##########
@@ -1021,6 +1021,198 @@ public void 
testExternalControllerServiceReferenceRemoved() throws FlowSynchroni
         assertNull(properties.get("cs"));
     }
 
+    @Test
+    @SuppressWarnings("unchecked")

Review Comment:
   I believe the clean fix is to replace `ArgumentCaptor.forClass(Map.class)` 
with the type-safe `ArgumentCaptor.captor()` (already used in the class).



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