dmatej commented on code in PR #181:
URL: 
https://github.com/apache/santuario-xml-security-java/pull/181#discussion_r1238525882


##########
src/main/java/org/apache/xml/security/stax/impl/processor/output/AbstractSignatureOutputProcessor.java:
##########
@@ -181,8 +182,8 @@ protected void setActiveInternalSignatureOutputProcessor(
     protected DigestOutputStream createMessageDigestOutputStream(String 
digestAlgorithm)
             throws XMLSecurityException {
 
-        String jceName = 
JCEAlgorithmMapper.translateURItoJCEID(digestAlgorithm);
-        String jceProvider = 
JCEAlgorithmMapper.getJCEProviderFromURI(digestAlgorithm);
+        String jceName = JCEMapper.translateURItoJCEID(digestAlgorithm);
+        String jceProvider = JCEMapper.getJCEProviderFromURI(digestAlgorithm);

Review Comment:
   Automatic change made by Eclipse - the method is defined in the parent 
class, but it is static. There is no such method in `JCEAlgorithMapper`. In 
fact the `JCEAlgorithmMapper` should NOT "inherit" from `JCEMapper`, both 
contain just static methods and both should be final. But that would be a 
breaking change, however I don't think anyone "extended" these classes.
   
   I would keep it there as it is here, because it is the right direction. In 
"sanct4" branch we can continue with breaking changes.



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