This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit abc06fa7a7878e4a7bd5f47ca8edd5a879263aa6
Author: Otavio R. Piske <[email protected]>
AuthorDate: Tue Jun 20 09:27:01 2023 +0200

    (chores) camel-xmlsecurity: removed unused method parameters
    
    Signed-off-by: Otavio R. Piske <[email protected]>
---
 .../camel/component/xmlsecurity/processor/XmlSignerProcessor.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerProcessor.java
 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerProcessor.java
index c65496c8203..312789d8f54 100644
--- 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerProcessor.java
+++ 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerProcessor.java
@@ -478,7 +478,7 @@ public class XmlSignerProcessor extends 
XmlSignatureProcessor {
         }
         Document doc = (Document) messageBodyNode.getParentNode();
         if (SignatureType.detached == sigType) {
-            return getParentForDetachedCase(doc, inMessage, 
contentReferenceURI);
+            return getParentForDetachedCase(doc, contentReferenceURI);
         } else {
             // enveloped case
             return getParentForEnvelopedCase(doc, inMessage);
@@ -530,7 +530,7 @@ public class XmlSignerProcessor extends 
XmlSignatureProcessor {
         }
     }
 
-    private Element getParentForDetachedCase(Document doc, Message inMessage, 
String referenceUri)
+    private Element getParentForDetachedCase(Document doc, String referenceUri)
             throws XmlSignatureException {
         String elementId = referenceUri;
         if (elementId.startsWith("#")) {

Reply via email to