You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/20 09:10:34 UTC

[camel] 02/02: (chores) camel-xmlsecurity: removed unused method parameters

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 <an...@gmail.com>
AuthorDate: Tue Jun 20 09:27:01 2023 +0200

    (chores) camel-xmlsecurity: removed unused method parameters
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../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("#")) {