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 4c1def6353970c4da7444cd4eaa2e24db63108a2 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Sat Mar 28 13:40:25 2026 +0000 (chores): fix SonarCloud S5993 in camel-xmlsecurity Change public constructors of abstract classes to protected. Claude Code on behalf of Otavio R. Piske Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --- .../component/xmlsecurity/processor/XmlSignatureConfiguration.java | 2 +- .../camel/component/xmlsecurity/processor/XmlSignatureProcessor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java index 217f9405212f..8cfa07d33ce5 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureConfiguration.java @@ -49,7 +49,7 @@ public abstract class XmlSignatureConfiguration implements Cloneable { @UriParam(label = "advanced") private URIDereferencer uriDereferencer; - public XmlSignatureConfiguration() { + protected XmlSignatureConfiguration() { } public URIDereferencer getUriDereferencer() { diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureProcessor.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureProcessor.java index d4cf695fda41..ff733a2bff40 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureProcessor.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignatureProcessor.java @@ -57,7 +57,7 @@ public abstract class XmlSignatureProcessor implements Processor { protected final CamelContext context; - public XmlSignatureProcessor(CamelContext context) { + protected XmlSignatureProcessor(CamelContext context) { this.context = context; }
