reta commented on code in PR #3766:
URL: https://github.com/apache/cxf/pull/3766#discussion_r4680027910


##########
rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/XmlSecInInterceptor.java:
##########
@@ -257,6 +259,8 @@ public void registerSecurityEvent(SecurityEvent 
securityEvent) throws XMLSecurit
                     
checkSignatureTransform((AlgorithmSuiteSecurityEvent)securityEvent);

Review Comment:
   Super nit, but could we extract local variable (there are like 4 casts here):
   
   ```
   final AlgorithmSuiteSecurityEvent algorithmSuiteSecurityEvent = 
(AlgorithmSuiteSecurityEvent) securityEvent;
   ```



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