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/17 12:24:44 UTC

[camel] branch main updated (c7ec985bb1d -> b1d2b4ca533)

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

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


    from c7ec985bb1d CAMEL-19459: camel-catalog-maven-grape
     new 25eb7127a71 (chores) camel-as2: align visibility of the constructor with the one declared in the class
     new 8c3fea8953f (chores) camel-atom: align visibility of the constructor with the one declared in the class
     new fe4df8e3e76 (chores) camel-avro-rpc: align visibility of the constructor with the one declared in the class
     new 05aee82b839 (chores) camel-bean: align visibility of the constructor with the one declared in the class
     new 4c6cc0d4e03 (chores) camel-bindy: align visibility of the constructor with the one declared in the class
     new 26acebc7749 (chores) (chores) camel-bonita: align visibility of the constructor with the one declared in the class
     new 8573eee4cef (chores) camel-crypto: align visibility of the constructor with the one declared in the class
     new 86c12af97a0 (chores) camel-dataset: align visibility of the constructor with the one declared in the class
     new d9a9feb8dd4 (chores) camel-debezium: align visibility of the constructor with the one declared in the class
     new 452d4b7d2db (chores) camel-digitalocean: align visibility of the constructor with the one declared in the class
     new 24f38f145ac (chores) camel-disruptor: align visibility of the constructor with the one declared in the class
     new f621ab86af7 (chores) camel-dropbox: align visibility of the constructor with the one declared in the class
     new 8cb4830cbd5 (chores) camel-file: align visibility of the constructor with the one declared in the class
     new c028df17bb8 (chores) camel-flink: align visibility of the constructor with the one declared in the class
     new 12d592d874a (chores) camel-ftp: align visibility of the constructor with the one declared in the class
     new 511de58bfec (chores) camel-git: align visibility of the constructor with the one declared in the class
     new bd7373b8602 (chores) camel-github: align visibility of the constructor with the one declared in the class
     new da307cd7717 (chores) camel-grpc: align visibility of the constructor with the one declared in the class
     new bfa1dbebfc3 (chores) camel-hazelcast: align visibility of the constructor with the one declared in the class
     new 9440d8d3881 (chores) camel-http-common: align visibility of the constructor with the one declared in the class
     new 93760b71a79 (chores) camel-hyperledger-aries: align visibility of the constructor with the one declared in the class
     new 71ed5b39c22 (chores) camel-iec60870: align visibility of the constructor with the one declared in the class
     new b6a5bd66ac1 (chores) camel-infinispan: align visibility of the constructor with the one declared in the class
     new d0d81d675d0 (chores) camel-jackson: align visibility of the constructor with the one declared in the class
     new 528c1f0e66d (chores) camel-jetty-common: align visibility of the constructor with the one declared in the class
     new cf26cfa0526 (chores) camel-jira: align visibility of the constructor with the one declared in the class
     new 540dc21d156 (chores) camel-kafka: align visibility of the constructor with the one declared in the class
     new d5c7e5af968 (chores) camel-kubernetes: align visibility of the constructor with the one declared in the class
     new 8a508c296a7 (chores) camel-metrics: align visibility of the constructor with the one declared in the class
     new 330956344ba (chores) camel-micrometer: align visibility of the constructor with the one declared in the class
     new c7bc170ea2b (chores) camel-mllp: align visibility of the constructor with the one declared in the class
     new eeb6095cd90 (chores) camel-mock: align visibility of the constructor with the one declared in the class
     new 9d82f547f82 (chores) camel-mybatis: align visibility of the constructor with the one declared in the class
     new b1ce94a9167 (chores) camel-netty-http: align visibility of the constructor with the one declared in the class
     new 4d50236a03e (chores) camel-nitrite: align visibility of the constructor with the one declared in the class
     new bd8170a7e4d (chores) camel-oaipmh: align visibility of the constructor with the one declared in the class
     new 3b3848f6ee1 (chores) camel-openstack: align visibility of the constructor with the one declared in the class
     new 1fbd7000895 (chores) camel-aws: align visibility of the constructor with the one declared in the class
     new 250928c8020 (chores) camel-consul: align visibility of the constructor with the one declared in the class
     new b1d2b4ca533 (chores) camel-jms: align visibility of the constructor with the one declared in the class

The 40 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../component/as2/api/entity/MultipartMimeEntity.java      |  6 +++---
 .../org/apache/camel/component/feed/FeedComponent.java     |  2 +-
 .../java/org/apache/camel/component/feed/FeedEndpoint.java |  4 ++--
 .../camel/component/feed/FeedEntryPollingConsumer.java     |  2 +-
 .../apache/camel/component/feed/FeedPollingConsumer.java   |  2 +-
 .../java/org/apache/camel/component/avro/AvroEndpoint.java |  2 +-
 .../java/org/apache/camel/component/avro/AvroProducer.java |  2 +-
 .../camel/component/aws2/ddb/AbstractDdbCommand.java       |  2 +-
 .../apache/camel/component/bean/AbstractBeanProcessor.java |  4 ++--
 .../component/bean/AbstractCamelInvocationHandler.java     |  2 +-
 .../camel/dataformat/bindy/BindyAbstractDataFormat.java    |  2 +-
 .../camel/dataformat/bindy/BindyAbstractFactory.java       |  2 +-
 .../dataformat/bindy/format/AbstractNumberFormat.java      |  4 ++--
 .../camel/dataformat/bindy/format/NumberPatternFormat.java |  8 ++++----
 .../camel/component/bonita/producer/BonitaProducer.java    |  2 +-
 .../camel/component/consul/ConsulClientConfiguration.java  |  2 +-
 .../component/consul/endpoint/AbstractConsulConsumer.java  |  2 +-
 .../crypto/processor/DigitalSignatureProcessor.java        |  2 +-
 .../org/apache/camel/component/dataset/DataSetSupport.java |  4 ++--
 .../configuration/EmbeddedDebeziumConfiguration.java       |  2 +-
 .../digitalocean/producer/DigitalOceanProducer.java        |  2 +-
 .../component/disruptor/AbstractSynchronizedExchange.java  |  2 +-
 .../integration/consumer/DropboxScheduledPollConsumer.java |  2 +-
 .../apache/camel/component/file/GenericFileComponent.java  |  4 ++--
 .../apache/camel/component/file/GenericFileConsumer.java   |  4 ++--
 .../apache/camel/component/file/GenericFileEndpoint.java   |  4 ++--
 .../camel/component/flink/ConvertingDataSetCallback.java   |  2 +-
 .../camel/component/file/remote/RemoteFileComponent.java   |  4 ++--
 .../component/file/remote/RemoteFileConfiguration.java     |  4 ++--
 .../camel/component/file/remote/RemoteFileConsumer.java    |  4 ++--
 .../camel/component/file/remote/RemoteFileEndpoint.java    |  4 ++--
 .../camel/component/git/consumer/AbstractGitConsumer.java  |  2 +-
 .../component/github/consumer/AbstractGitHubConsumer.java  |  2 +-
 .../component/github/producer/AbstractGitHubProducer.java  |  2 +-
 .../grpc/server/GrpcRequestAbstractStreamObserver.java     |  4 ++--
 .../component/hazelcast/HazelcastDefaultComponent.java     |  4 ++--
 .../component/hazelcast/HazelcastDefaultEndpoint.java      |  6 +++---
 .../component/hazelcast/HazelcastDefaultProducer.java      |  2 +-
 .../org/apache/camel/http/common/HttpCommonComponent.java  |  2 +-
 .../org/apache/camel/http/common/HttpCommonEndpoint.java   |  4 ++--
 .../component/aries/handler/AbstractServiceHandler.java    |  2 +-
 .../camel/component/iec60870/AbstractIecComponent.java     |  6 +++---
 .../camel/component/iec60870/AbstractIecEndpoint.java      |  4 ++--
 .../org/apache/camel/component/iec60870/BaseOptions.java   |  4 ++--
 .../component/infinispan/InfinispanEventListener.java      |  2 +-
 .../camel/component/jackson/AbstractJacksonDataFormat.java | 10 +++++-----
 .../apache/camel/component/jetty/JettyHttpComponent.java   |  2 +-
 .../apache/camel/component/jetty/JettyHttpEndpoint.java    |  2 +-
 .../component/jira/consumer/AbstractJiraConsumer.java      |  2 +-
 .../component/jira/oauth/OAuthHttpClientDecorator.java     |  2 +-
 .../camel/component/jms/reply/ReplyManagerSupport.java     |  2 +-
 .../component/kafka/consumer/AbstractCommitManager.java    |  3 ++-
 .../component/kafka/consumer/DefaultKafkaManualCommit.java |  4 ++--
 .../component/kubernetes/AbstractKubernetesEndpoint.java   |  2 +-
 .../kubernetes/cloud/KubernetesServiceDiscovery.java       |  2 +-
 .../camel/component/metrics/AbstractMetricsProducer.java   |  2 +-
 .../component/micrometer/AbstractMicrometerProducer.java   |  2 +-
 .../eventnotifier/AbstractMicrometerEventNotifier.java     |  2 +-
 .../camel/component/mllp/MllpAcknowledgementException.java | 14 +++++++-------
 .../mllp/MllpNegativeAcknowledgementException.java         |  8 +++++---
 .../org/apache/camel/component/mock/AssertionClause.java   |  2 +-
 .../apache/camel/component/mock/AssertionClauseTask.java   |  2 +-
 .../camel/component/mybatis/BaseMyBatisEndpoint.java       |  4 ++--
 .../component/netty/http/SecurityAuthenticatorSupport.java |  2 +-
 .../nitrite/operation/AbstractPayloadAwareOperation.java   |  6 +++---
 .../org/apache/camel/oaipmh/handler/AbstractHandler.java   |  2 +-
 .../openstack/common/AbstractOpenstackEndpoint.java        |  2 +-
 .../openstack/common/AbstractOpenstackProducer.java        |  2 +-
 .../keystone/producer/AbstractKeystoneProducer.java        |  2 +-
 69 files changed, 113 insertions(+), 110 deletions(-)


[camel] 19/40: (chores) camel-hazelcast: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 bfa1dbebfc33498a8cc321f92e6eb4fd1811bd31
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:41:12 2023 +0200

    (chores) camel-hazelcast: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/hazelcast/HazelcastDefaultComponent.java | 4 ++--
 .../apache/camel/component/hazelcast/HazelcastDefaultEndpoint.java  | 6 +++---
 .../apache/camel/component/hazelcast/HazelcastDefaultProducer.java  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultComponent.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultComponent.java
index 78ef2239a2d..e2f777010d5 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultComponent.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultComponent.java
@@ -51,11 +51,11 @@ public abstract class HazelcastDefaultComponent extends DefaultComponent {
     @Metadata(label = "advanced", defaultValue = "" + HazelcastConstants.HAZELCAST_NODE_MODE)
     private String hazelcastMode = HazelcastConstants.HAZELCAST_NODE_MODE;
 
-    public HazelcastDefaultComponent() {
+    protected HazelcastDefaultComponent() {
         this.customHazelcastInstances = new LinkedHashSet<>();
     }
 
-    public HazelcastDefaultComponent(final CamelContext context) {
+    protected HazelcastDefaultComponent(final CamelContext context) {
         super(context);
         this.customHazelcastInstances = new LinkedHashSet<>();
     }
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultEndpoint.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultEndpoint.java
index 8eb569274b3..b2cb3c6ef14 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultEndpoint.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultEndpoint.java
@@ -42,12 +42,12 @@ public abstract class HazelcastDefaultEndpoint extends DefaultEndpoint {
     @UriParam
     private HazelcastOperation defaultOperation;
 
-    public HazelcastDefaultEndpoint(HazelcastInstance hazelcastInstance, String endpointUri, Component component) {
+    protected HazelcastDefaultEndpoint(HazelcastInstance hazelcastInstance, String endpointUri, Component component) {
         this(hazelcastInstance, endpointUri, component, null);
     }
 
-    public HazelcastDefaultEndpoint(HazelcastInstance hazelcastInstance, String endpointUri, Component component,
-                                    String cacheName) {
+    protected HazelcastDefaultEndpoint(HazelcastInstance hazelcastInstance, String endpointUri, Component component,
+                                       String cacheName) {
         super(endpointUri, component);
         this.cacheName = cacheName;
         this.hazelcastInstance = hazelcastInstance;
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultProducer.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultProducer.java
index 87df648800f..d9e774bfa25 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultProducer.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastDefaultProducer.java
@@ -20,7 +20,7 @@ import org.apache.camel.Exchange;
 import org.apache.camel.support.DefaultProducer;
 
 public abstract class HazelcastDefaultProducer extends DefaultProducer {
-    public HazelcastDefaultProducer(HazelcastDefaultEndpoint endpoint) {
+    protected HazelcastDefaultProducer(HazelcastDefaultEndpoint endpoint) {
         super(endpoint);
     }
 


[camel] 28/40: (chores) camel-kubernetes: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 d5c7e5af968a639121756f9132ab927449ab41df
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:54:04 2023 +0200

    (chores) camel-kubernetes: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/kubernetes/AbstractKubernetesEndpoint.java   | 2 +-
 .../camel/component/kubernetes/cloud/KubernetesServiceDiscovery.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/AbstractKubernetesEndpoint.java b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/AbstractKubernetesEndpoint.java
index 65a4c7201ec..01aa3c85e39 100644
--- a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/AbstractKubernetesEndpoint.java
+++ b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/AbstractKubernetesEndpoint.java
@@ -32,7 +32,7 @@ public abstract class AbstractKubernetesEndpoint extends DefaultEndpoint {
 
     private transient KubernetesClient client;
 
-    public AbstractKubernetesEndpoint(String uri, AbstractKubernetesComponent component, KubernetesConfiguration config) {
+    protected AbstractKubernetesEndpoint(String uri, AbstractKubernetesComponent component, KubernetesConfiguration config) {
         super(uri, component);
         this.configuration = config;
     }
diff --git a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cloud/KubernetesServiceDiscovery.java b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cloud/KubernetesServiceDiscovery.java
index 15fb642eb87..65d3d184110 100644
--- a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cloud/KubernetesServiceDiscovery.java
+++ b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cloud/KubernetesServiceDiscovery.java
@@ -25,7 +25,7 @@ import org.apache.camel.impl.cloud.DefaultServiceDiscovery;
 public abstract class KubernetesServiceDiscovery extends DefaultServiceDiscovery {
     private final KubernetesConfiguration configuration;
 
-    public KubernetesServiceDiscovery(KubernetesConfiguration configuration) {
+    protected KubernetesServiceDiscovery(KubernetesConfiguration configuration) {
         this.configuration = configuration;
     }
 


[camel] 12/40: (chores) camel-dropbox: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 f621ab86af76fb2eb32ec314d2e2364b10839cb0
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:34:29 2023 +0200

    (chores) camel-dropbox: align visibility of the constructor with the one declared in the class
---
 .../dropbox/integration/consumer/DropboxScheduledPollConsumer.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/integration/consumer/DropboxScheduledPollConsumer.java b/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/integration/consumer/DropboxScheduledPollConsumer.java
index 91e328fc9ca..c50fc46a514 100644
--- a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/integration/consumer/DropboxScheduledPollConsumer.java
+++ b/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/integration/consumer/DropboxScheduledPollConsumer.java
@@ -28,7 +28,7 @@ public abstract class DropboxScheduledPollConsumer extends ScheduledPollConsumer
     protected final DropboxEndpoint endpoint;
     protected final DropboxConfiguration configuration;
 
-    public DropboxScheduledPollConsumer(DropboxEndpoint endpoint, Processor processor, DropboxConfiguration configuration) {
+    protected DropboxScheduledPollConsumer(DropboxEndpoint endpoint, Processor processor, DropboxConfiguration configuration) {
         super(endpoint, processor);
         this.endpoint = endpoint;
         this.configuration = configuration;


[camel] 04/40: (chores) camel-bean: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 05aee82b839b474c48f035323506e070aebab013
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:31:56 2023 +0200

    (chores) camel-bean: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/bean/AbstractBeanProcessor.java   | 4 ++--
 .../apache/camel/component/bean/AbstractCamelInvocationHandler.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractBeanProcessor.java b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractBeanProcessor.java
index d1ab1674b5e..f73d665266c 100644
--- a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractBeanProcessor.java
+++ b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractBeanProcessor.java
@@ -43,11 +43,11 @@ public abstract class AbstractBeanProcessor extends AsyncProcessorSupport {
     private String method;
     private boolean shorthandMethod;
 
-    public AbstractBeanProcessor(Object pojo, BeanInfo beanInfo) {
+    protected AbstractBeanProcessor(Object pojo, BeanInfo beanInfo) {
         this(new ConstantBeanHolder(pojo, beanInfo));
     }
 
-    public AbstractBeanProcessor(BeanHolder beanHolder) {
+    protected AbstractBeanProcessor(BeanHolder beanHolder) {
         this.beanHolder = beanHolder;
     }
 
diff --git a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
index 08a27987320..fb5a65226d9 100644
--- a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
+++ b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
@@ -62,7 +62,7 @@ public abstract class AbstractCamelInvocationHandler implements InvocationHandle
         EXCLUDED_METHODS.addAll(Arrays.asList(Object.class.getMethods()));
     }
 
-    public AbstractCamelInvocationHandler(Endpoint endpoint, Producer producer) {
+    protected AbstractCamelInvocationHandler(Endpoint endpoint, Producer producer) {
         this.endpoint = endpoint;
         this.producer = producer;
     }


[camel] 33/40: (chores) camel-mybatis: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 9d82f547f827d7a86c79dce0e49a5d295daedd05
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:58:01 2023 +0200

    (chores) camel-mybatis: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/mybatis/BaseMyBatisEndpoint.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/BaseMyBatisEndpoint.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/BaseMyBatisEndpoint.java
index 474605301dc..7c65469eee8 100644
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/BaseMyBatisEndpoint.java
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/BaseMyBatisEndpoint.java
@@ -30,10 +30,10 @@ public abstract class BaseMyBatisEndpoint extends DefaultPollingEndpoint {
     @UriParam(label = "producer")
     private String outputHeader;
 
-    public BaseMyBatisEndpoint() {
+    protected BaseMyBatisEndpoint() {
     }
 
-    public BaseMyBatisEndpoint(String endpointUri, Component component) {
+    protected BaseMyBatisEndpoint(String endpointUri, Component component) {
         super(endpointUri, component);
     }
 


[camel] 22/40: (chores) camel-iec60870: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 71ed5b39c22b453ecf78d6a10d93634439a8b888
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:41:32 2023 +0200

    (chores) camel-iec60870: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/iec60870/AbstractIecComponent.java   | 6 +++---
 .../org/apache/camel/component/iec60870/AbstractIecEndpoint.java    | 4 ++--
 .../main/java/org/apache/camel/component/iec60870/BaseOptions.java  | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
index 048ec8836e6..387f1eca5bb 100644
--- a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
+++ b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecComponent.java
@@ -41,13 +41,13 @@ public abstract class AbstractIecComponent<T1, T2 extends BaseOptions<T2>> exten
 
     private T2 defaultConnectionOptions;
 
-    public AbstractIecComponent(final Class<T2> connectionOptionsClazz, final T2 defaultConnectionOptions) {
+    protected AbstractIecComponent(final Class<T2> connectionOptionsClazz, final T2 defaultConnectionOptions) {
         this.connectionOptionsClazz = connectionOptionsClazz;
         this.defaultConnectionOptions = defaultConnectionOptions;
     }
 
-    public AbstractIecComponent(final Class<T2> connectionOptionsClazz, final T2 defaultConnectionOptions,
-                                final CamelContext context) {
+    protected AbstractIecComponent(final Class<T2> connectionOptionsClazz, final T2 defaultConnectionOptions,
+                                   final CamelContext context) {
         super(context);
         this.connectionOptionsClazz = connectionOptionsClazz;
         this.defaultConnectionOptions = defaultConnectionOptions;
diff --git a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecEndpoint.java b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecEndpoint.java
index d2dfea7a9ce..c1b59f27cdb 100644
--- a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecEndpoint.java
+++ b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/AbstractIecEndpoint.java
@@ -71,8 +71,8 @@ public abstract class AbstractIecEndpoint<T extends AbstractConnectionMultiplexo
 
     private final AtomicReference<Handle> connectionHandle = new AtomicReference<>();
 
-    public AbstractIecEndpoint(final String uri, final DefaultComponent component, final T connection,
-                               final ObjectAddress address) {
+    protected AbstractIecEndpoint(final String uri, final DefaultComponent component, final T connection,
+                                  final ObjectAddress address) {
         super(uri, component);
 
         this.connection = requireNonNull(connection);
diff --git a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/BaseOptions.java b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/BaseOptions.java
index 0593a687034..9c30d4a2fe1 100644
--- a/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/BaseOptions.java
+++ b/components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/BaseOptions.java
@@ -117,11 +117,11 @@ public abstract class BaseOptions<T extends BaseOptions<T>> {
     @UriParam(label = "connection", defaultValue = "10")
     private short acknowledgeWindow;
 
-    public BaseOptions() {
+    protected BaseOptions() {
         this.protocolOptions = new ProtocolOptions.Builder();
     }
 
-    public BaseOptions(final ProtocolOptions protocolOptions) {
+    protected BaseOptions(final ProtocolOptions protocolOptions) {
         Objects.requireNonNull(protocolOptions);
         this.protocolOptions = new ProtocolOptions.Builder(protocolOptions);
     }


[camel] 10/40: (chores) camel-digitalocean: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 452d4b7d2db4dd9c0c885a21241c39aab977edba
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:33:09 2023 +0200

    (chores) camel-digitalocean: align visibility of the constructor with the one declared in the class
---
 .../camel/component/digitalocean/producer/DigitalOceanProducer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-digitalocean/src/main/java/org/apache/camel/component/digitalocean/producer/DigitalOceanProducer.java b/components/camel-digitalocean/src/main/java/org/apache/camel/component/digitalocean/producer/DigitalOceanProducer.java
index b39565c3e4b..91875bfec51 100644
--- a/components/camel-digitalocean/src/main/java/org/apache/camel/component/digitalocean/producer/DigitalOceanProducer.java
+++ b/components/camel-digitalocean/src/main/java/org/apache/camel/component/digitalocean/producer/DigitalOceanProducer.java
@@ -34,7 +34,7 @@ public abstract class DigitalOceanProducer extends DefaultProducer {
     protected DigitalOceanConfiguration configuration;
     private DigitalOceanEndpoint endpoint;
 
-    public DigitalOceanProducer(DigitalOceanEndpoint endpoint, DigitalOceanConfiguration configuration) {
+    protected DigitalOceanProducer(DigitalOceanEndpoint endpoint, DigitalOceanConfiguration configuration) {
         super(endpoint);
         this.endpoint = endpoint;
         this.configuration = configuration;


[camel] 38/40: (chores) camel-aws: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 1fbd700089592211796f646b929677af4587c805
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 10:00:36 2023 +0200

    (chores) camel-aws: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/aws2/ddb/AbstractDdbCommand.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/AbstractDdbCommand.java b/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/AbstractDdbCommand.java
index 6a243c215f5..2dd3f967d6f 100644
--- a/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/AbstractDdbCommand.java
+++ b/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/AbstractDdbCommand.java
@@ -30,7 +30,7 @@ public abstract class AbstractDdbCommand {
     protected Exchange exchange;
     protected DynamoDbClient ddbClient;
 
-    public AbstractDdbCommand(DynamoDbClient ddbClient, Ddb2Configuration configuration, Exchange exchange) {
+    protected AbstractDdbCommand(DynamoDbClient ddbClient, Ddb2Configuration configuration, Exchange exchange) {
 
         this.ddbClient = ddbClient;
         this.configuration = configuration;


[camel] 08/40: (chores) camel-dataset: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 86c12af97a03779b97bddec7538a6dd491300ebe
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:32:38 2023 +0200

    (chores) camel-dataset: align visibility of the constructor with the one declared in the class
---
 .../main/java/org/apache/camel/component/dataset/DataSetSupport.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
index 315d1e16553..0d7da372d31 100644
--- a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
+++ b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
@@ -32,10 +32,10 @@ public abstract class DataSetSupport implements DataSet {
     private long size = 10;
     private long reportCount = -1;
 
-    public DataSetSupport() {
+    protected DataSetSupport() {
     }
 
-    public DataSetSupport(int size) {
+    protected DataSetSupport(int size) {
         setSize(size);
     }
 


[camel] 07/40: (chores) camel-crypto: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 8573eee4cef93d3d53fd7bb7e44159b625c55a94
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:32:34 2023 +0200

    (chores) camel-crypto: align visibility of the constructor with the one declared in the class
---
 .../camel/component/crypto/processor/DigitalSignatureProcessor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/processor/DigitalSignatureProcessor.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/processor/DigitalSignatureProcessor.java
index 9ee55da3a39..8598f770bb2 100644
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/processor/DigitalSignatureProcessor.java
+++ b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/processor/DigitalSignatureProcessor.java
@@ -34,7 +34,7 @@ public abstract class DigitalSignatureProcessor implements Processor {
 
     protected DigitalSignatureConfiguration config;
 
-    public DigitalSignatureProcessor(DigitalSignatureConfiguration configuration) {
+    protected DigitalSignatureProcessor(DigitalSignatureConfiguration configuration) {
         this.config = configuration;
     }
 


[camel] 06/40: (chores) (chores) camel-bonita: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 26acebc7749b804b7ba81a144fed8e8acdb84a7e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:32:17 2023 +0200

    (chores)
    (chores) camel-bonita: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/bonita/producer/BonitaProducer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-bonita/src/main/java/org/apache/camel/component/bonita/producer/BonitaProducer.java b/components/camel-bonita/src/main/java/org/apache/camel/component/bonita/producer/BonitaProducer.java
index deb294a084b..3b305bd2694 100644
--- a/components/camel-bonita/src/main/java/org/apache/camel/component/bonita/producer/BonitaProducer.java
+++ b/components/camel-bonita/src/main/java/org/apache/camel/component/bonita/producer/BonitaProducer.java
@@ -28,7 +28,7 @@ public abstract class BonitaProducer extends DefaultProducer {
     protected BonitaEndpoint endpoint;
     protected BonitaConfiguration configuration;
 
-    public BonitaProducer(BonitaEndpoint endpoint, BonitaConfiguration configuration) {
+    protected BonitaProducer(BonitaEndpoint endpoint, BonitaConfiguration configuration) {
         super(endpoint);
         this.endpoint = endpoint;
         this.configuration = configuration;


[camel] 15/40: (chores) camel-ftp: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 12d592d874a19a6def2a346a12b810cc54ebb509
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:36:41 2023 +0200

    (chores) camel-ftp: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/file/remote/RemoteFileComponent.java   | 4 ++--
 .../apache/camel/component/file/remote/RemoteFileConfiguration.java   | 4 ++--
 .../org/apache/camel/component/file/remote/RemoteFileConsumer.java    | 4 ++--
 .../org/apache/camel/component/file/remote/RemoteFileEndpoint.java    | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileComponent.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileComponent.java
index c6463fc49f8..cf142aa10e1 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileComponent.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileComponent.java
@@ -28,10 +28,10 @@ public abstract class RemoteFileComponent<T> extends GenericFileComponent<T> {
 
     public static final String REMOTE_FILE_INPUT_STREAM = "CamelRemoteFileInputStream";
 
-    public RemoteFileComponent() {
+    protected RemoteFileComponent() {
     }
 
-    public RemoteFileComponent(CamelContext context) {
+    protected RemoteFileComponent(CamelContext context) {
         super(context);
     }
 }
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConfiguration.java
index 5dea049b333..f650f5daa4f 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConfiguration.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConfiguration.java
@@ -114,10 +114,10 @@ public abstract class RemoteFileConfiguration extends GenericFileConfiguration {
                                                                                 + "upload the file. However if this causes problems, you can turn this option off.")
     private boolean sendNoop = true;
 
-    public RemoteFileConfiguration() {
+    protected RemoteFileConfiguration() {
     }
 
-    public RemoteFileConfiguration(URI uri) {
+    protected RemoteFileConfiguration(URI uri) {
         configure(uri);
     }
 
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
index a829fd5c3e8..82ff2fff563 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
@@ -41,8 +41,8 @@ public abstract class RemoteFileConsumer<T> extends GenericFileConsumer<T> {
     protected transient boolean loggedIn;
     protected transient boolean loggedInWarning;
 
-    public RemoteFileConsumer(RemoteFileEndpoint<T> endpoint, Processor processor, RemoteFileOperations<T> operations,
-                              GenericFileProcessStrategy processStrategy) {
+    protected RemoteFileConsumer(RemoteFileEndpoint<T> endpoint, Processor processor, RemoteFileOperations<T> operations,
+                                 GenericFileProcessStrategy processStrategy) {
         super(endpoint, processor, operations, processStrategy);
         this.setPollStrategy(new RemoteFilePollingConsumerPollStrategy());
     }
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileEndpoint.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileEndpoint.java
index 058f6ac834c..fb15509cf2f 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileEndpoint.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileEndpoint.java
@@ -67,7 +67,7 @@ public abstract class RemoteFileEndpoint<T> extends GenericFileEndpoint<T> {
                                                          + "not be downloaded.")
     private boolean download = true;
 
-    public RemoteFileEndpoint() {
+    protected RemoteFileEndpoint() {
         // ftp must be synchronous as the ftp-client is not thread-safe
         setSynchronous(true);
         // no args constructor for spring bean endpoint configuration
@@ -79,7 +79,7 @@ public abstract class RemoteFileEndpoint<T> extends GenericFileEndpoint<T> {
         setPollStrategy(new RemoteFilePollingConsumerPollStrategy());
     }
 
-    public RemoteFileEndpoint(String uri, RemoteFileComponent<T> component, RemoteFileConfiguration configuration) {
+    protected RemoteFileEndpoint(String uri, RemoteFileComponent<T> component, RemoteFileConfiguration configuration) {
         super(uri, component);
         this.configuration = configuration;
         // ftp must be synchronous as the ftp-client is not thread-safe


[camel] 23/40: (chores) camel-infinispan: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 b6a5bd66ac1979bf9d00fb8d5fae4783f57efa88
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:45:06 2023 +0200

    (chores) camel-infinispan: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/infinispan/InfinispanEventListener.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-infinispan/camel-infinispan-common/src/main/java/org/apache/camel/component/infinispan/InfinispanEventListener.java b/components/camel-infinispan/camel-infinispan-common/src/main/java/org/apache/camel/component/infinispan/InfinispanEventListener.java
index 310811f994a..fd2c23bafc1 100644
--- a/components/camel-infinispan/camel-infinispan-common/src/main/java/org/apache/camel/component/infinispan/InfinispanEventListener.java
+++ b/components/camel-infinispan/camel-infinispan-common/src/main/java/org/apache/camel/component/infinispan/InfinispanEventListener.java
@@ -26,7 +26,7 @@ public abstract class InfinispanEventListener<T> {
     private InfinispanEventProcessor eventProcessor;
     private String cacheName;
 
-    public InfinispanEventListener(Set<T> events) {
+    protected InfinispanEventListener(Set<T> events) {
         this.events = Collections.unmodifiableSet(new HashSet<>(events));
     }
 


[camel] 20/40: (chores) camel-http-common: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 9440d8d38815a3febc234b84c7051bcc7e504a52
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:41:19 2023 +0200

    (chores) camel-http-common: align visibility of the constructor with the one declared in the class
---
 .../main/java/org/apache/camel/http/common/HttpCommonComponent.java   | 2 +-
 .../main/java/org/apache/camel/http/common/HttpCommonEndpoint.java    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
index 115a2edc879..266e9b7191f 100644
--- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
+++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
@@ -38,7 +38,7 @@ public abstract class HttpCommonComponent extends HeaderFilterStrategyComponent
                             + " If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk.")
     protected boolean allowJavaSerializedObject;
 
-    public HttpCommonComponent() {
+    protected HttpCommonComponent() {
     }
 
     /**
diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
index a42fdbd0e21..b1518e5d879 100644
--- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
+++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
@@ -174,10 +174,10 @@ public abstract class HttpCommonEndpoint extends DefaultEndpoint implements Head
     @UriParam(label = "producer,proxy", description = "Proxy authentication domain (workstation name) to use with NTML")
     private String proxyAuthNtHost;
 
-    public HttpCommonEndpoint() {
+    protected HttpCommonEndpoint() {
     }
 
-    public HttpCommonEndpoint(String endPointURI, HttpCommonComponent component, URI httpURI) {
+    protected HttpCommonEndpoint(String endPointURI, HttpCommonComponent component, URI httpURI) {
         super(endPointURI, component);
         this.component = component;
         this.httpUri = httpURI;


[camel] 18/40: (chores) camel-grpc: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 da307cd7717f41295b47f84b4af9d76fe41e0163
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:39:00 2023 +0200

    (chores) camel-grpc: align visibility of the constructor with the one declared in the class
---
 .../component/grpc/server/GrpcRequestAbstractStreamObserver.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/server/GrpcRequestAbstractStreamObserver.java b/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/server/GrpcRequestAbstractStreamObserver.java
index d0162d5105e..2f501aa8ca4 100644
--- a/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/server/GrpcRequestAbstractStreamObserver.java
+++ b/components/camel-grpc/src/main/java/org/apache/camel/component/grpc/server/GrpcRequestAbstractStreamObserver.java
@@ -33,8 +33,8 @@ public abstract class GrpcRequestAbstractStreamObserver implements StreamObserve
     protected StreamObserver<Object> responseObserver;
     protected Map<String, Object> headers;
 
-    public GrpcRequestAbstractStreamObserver(GrpcEndpoint endpoint, GrpcConsumer consumer,
-                                             StreamObserver<Object> responseObserver, Map<String, Object> headers) {
+    protected GrpcRequestAbstractStreamObserver(GrpcEndpoint endpoint, GrpcConsumer consumer,
+                                                StreamObserver<Object> responseObserver, Map<String, Object> headers) {
         this.endpoint = endpoint;
         this.consumer = consumer;
         this.responseObserver = responseObserver;


[camel] 16/40: (chores) camel-git: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 511de58bfec08853e724e3166c836792bc006b41
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:36:57 2023 +0200

    (chores) camel-git: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/git/consumer/AbstractGitConsumer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-git/src/main/java/org/apache/camel/component/git/consumer/AbstractGitConsumer.java b/components/camel-git/src/main/java/org/apache/camel/component/git/consumer/AbstractGitConsumer.java
index e586bba99d7..f5f8bb413bd 100644
--- a/components/camel-git/src/main/java/org/apache/camel/component/git/consumer/AbstractGitConsumer.java
+++ b/components/camel-git/src/main/java/org/apache/camel/component/git/consumer/AbstractGitConsumer.java
@@ -30,7 +30,7 @@ public abstract class AbstractGitConsumer extends ScheduledPollConsumer {
 
     private Git git;
 
-    public AbstractGitConsumer(GitEndpoint endpoint, Processor processor) {
+    protected AbstractGitConsumer(GitEndpoint endpoint, Processor processor) {
         super(endpoint, processor);
         this.endpoint = endpoint;
     }


[camel] 27/40: (chores) camel-kafka: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 540dc21d1561b3e586337f6e9ca0adf523e4927d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:52:55 2023 +0200

    (chores) camel-kafka: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/kafka/consumer/AbstractCommitManager.java  | 3 ++-
 .../camel/component/kafka/consumer/DefaultKafkaManualCommit.java      | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/AbstractCommitManager.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/AbstractCommitManager.java
index fe5abc3e403..d2b26a27048 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/AbstractCommitManager.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/AbstractCommitManager.java
@@ -42,7 +42,8 @@ public abstract class AbstractCommitManager implements CommitManager {
 
     private final Consumer<?, ?> consumer;
 
-    public AbstractCommitManager(Consumer<?, ?> consumer, KafkaConsumer kafkaConsumer, String threadId, String printableTopic) {
+    protected AbstractCommitManager(Consumer<?, ?> consumer, KafkaConsumer kafkaConsumer, String threadId,
+                                    String printableTopic) {
         this.consumer = consumer;
         this.kafkaConsumer = kafkaConsumer;
         this.threadId = threadId;
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/DefaultKafkaManualCommit.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/DefaultKafkaManualCommit.java
index 0c370b2ca03..5aa71a8ccfc 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/DefaultKafkaManualCommit.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/DefaultKafkaManualCommit.java
@@ -25,8 +25,8 @@ public abstract class DefaultKafkaManualCommit implements KafkaManualCommit {
     protected final KafkaManualCommitFactory.CamelExchangePayload camelExchangePayload;
     protected final KafkaManualCommitFactory.KafkaRecordPayload kafkaRecordPayload;
 
-    public DefaultKafkaManualCommit(KafkaManualCommitFactory.CamelExchangePayload camelExchangePayload,
-                                    KafkaManualCommitFactory.KafkaRecordPayload kafkaRecordPayload) {
+    protected DefaultKafkaManualCommit(KafkaManualCommitFactory.CamelExchangePayload camelExchangePayload,
+                                       KafkaManualCommitFactory.KafkaRecordPayload kafkaRecordPayload) {
         this.camelExchangePayload = camelExchangePayload;
         this.kafkaRecordPayload = kafkaRecordPayload;
     }


[camel] 29/40: (chores) camel-metrics: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 8a508c296a7fa4708bee5549167b1f092e05b5d9
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:54:28 2023 +0200

    (chores) camel-metrics: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/metrics/AbstractMetricsProducer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/AbstractMetricsProducer.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/AbstractMetricsProducer.java
index c84d9bdef70..43f7b42880c 100644
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/AbstractMetricsProducer.java
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/AbstractMetricsProducer.java
@@ -26,7 +26,7 @@ public abstract class AbstractMetricsProducer extends DefaultProducer {
 
     public static final String HEADER_PATTERN = MetricsConstants.HEADER_PREFIX + "*";
 
-    public AbstractMetricsProducer(MetricsEndpoint endpoint) {
+    protected AbstractMetricsProducer(MetricsEndpoint endpoint) {
         super(endpoint);
     }
 


[camel] 36/40: (chores) camel-oaipmh: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 bd8170a7e4da728ae9702d45e3eafc5db33ddd0e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:58:51 2023 +0200

    (chores) camel-oaipmh: align visibility of the constructor with the one declared in the class
---
 .../src/main/java/org/apache/camel/oaipmh/handler/AbstractHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-oaipmh/src/main/java/org/apache/camel/oaipmh/handler/AbstractHandler.java b/components/camel-oaipmh/src/main/java/org/apache/camel/oaipmh/handler/AbstractHandler.java
index a68a5512dd7..3d5d4cec796 100644
--- a/components/camel-oaipmh/src/main/java/org/apache/camel/oaipmh/handler/AbstractHandler.java
+++ b/components/camel-oaipmh/src/main/java/org/apache/camel/oaipmh/handler/AbstractHandler.java
@@ -35,7 +35,7 @@ public abstract class AbstractHandler {
     protected final Processor processor;
     protected final ExceptionHandler exceptionHandler;
 
-    public AbstractHandler(OAIPMHConsumer consumer) {
+    protected AbstractHandler(OAIPMHConsumer consumer) {
         this.consumer = consumer;
         this.endpoint = consumer.getEndpoint();
         this.processor = consumer.getAsyncProcessor();


[camel] 31/40: (chores) camel-mllp: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 c7bc170ea2b4d17761a4bfd4d3b42394aa722051
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:57:27 2023 +0200

    (chores) camel-mllp: align visibility of the constructor with the one declared in the class
---
 .../camel/component/mllp/MllpAcknowledgementException.java | 14 +++++++-------
 .../mllp/MllpNegativeAcknowledgementException.java         |  8 +++++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpAcknowledgementException.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpAcknowledgementException.java
index b83685fe4f9..963c82a94b0 100644
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpAcknowledgementException.java
+++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpAcknowledgementException.java
@@ -21,28 +21,28 @@ package org.apache.camel.component.mllp;
  */
 public abstract class MllpAcknowledgementException extends MllpException {
 
-    public MllpAcknowledgementException(String message, boolean logPhi) {
+    protected MllpAcknowledgementException(String message, boolean logPhi) {
         super(message, logPhi);
     }
 
-    public MllpAcknowledgementException(String message, Throwable cause, boolean logPhi) {
+    protected MllpAcknowledgementException(String message, Throwable cause, boolean logPhi) {
         super(message, cause, logPhi);
     }
 
-    public MllpAcknowledgementException(String message, byte[] hl7Message, boolean logPhi) {
+    protected MllpAcknowledgementException(String message, byte[] hl7Message, boolean logPhi) {
         super(message, hl7Message, logPhi);
     }
 
-    public MllpAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, boolean logPhi) {
+    protected MllpAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, boolean logPhi) {
         super(message, hl7Message, hl7Acknowledgement, logPhi);
     }
 
-    public MllpAcknowledgementException(String message, byte[] hl7Message, Throwable cause, boolean logPhi) {
+    protected MllpAcknowledgementException(String message, byte[] hl7Message, Throwable cause, boolean logPhi) {
         super(message, hl7Message, cause, logPhi);
     }
 
-    public MllpAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, Throwable cause,
-                                        boolean logPhi) {
+    protected MllpAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, Throwable cause,
+                                           boolean logPhi) {
         super(message, hl7Message, hl7Acknowledgement, cause, logPhi);
     }
 
diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpNegativeAcknowledgementException.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpNegativeAcknowledgementException.java
index be6c85b3ce5..23f6a00f89b 100644
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpNegativeAcknowledgementException.java
+++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpNegativeAcknowledgementException.java
@@ -20,12 +20,14 @@ package org.apache.camel.component.mllp;
  * Abstract base for all MLLP Negative Acknowledgements
  */
 public abstract class MllpNegativeAcknowledgementException extends MllpAcknowledgementException {
-    public MllpNegativeAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, boolean logPhi) {
+    protected MllpNegativeAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement,
+                                                   boolean logPhi) {
         super(message, hl7Message, hl7Acknowledgement, logPhi);
     }
 
-    public MllpNegativeAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement, Throwable cause,
-                                                boolean logPhi) {
+    protected MllpNegativeAcknowledgementException(String message, byte[] hl7Message, byte[] hl7Acknowledgement,
+                                                   Throwable cause,
+                                                   boolean logPhi) {
         super(message, hl7Message, hl7Acknowledgement, cause, logPhi);
     }
 


[camel] 11/40: (chores) camel-disruptor: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 24f38f145ac822948d8a481b7fd340bb8a9e9b86
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:34:22 2023 +0200

    (chores) camel-disruptor: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/disruptor/AbstractSynchronizedExchange.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/AbstractSynchronizedExchange.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/AbstractSynchronizedExchange.java
index f824cbfb312..059920339dc 100644
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/AbstractSynchronizedExchange.java
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/AbstractSynchronizedExchange.java
@@ -29,7 +29,7 @@ public abstract class AbstractSynchronizedExchange implements SynchronizedExchan
     protected final List<Synchronization> synchronizations;
     private final Exchange exchange;
 
-    public AbstractSynchronizedExchange(Exchange exchange) {
+    protected AbstractSynchronizedExchange(Exchange exchange) {
         this.exchange = exchange;
         synchronizations = exchange.getExchangeExtension().handoverCompletions();
     }


[camel] 37/40: (chores) camel-openstack: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 3b3848f6ee175cdad089273d82e1e95507f9599e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:58:59 2023 +0200

    (chores) camel-openstack: align visibility of the constructor with the one declared in the class
---
 .../camel/component/openstack/common/AbstractOpenstackEndpoint.java     | 2 +-
 .../camel/component/openstack/common/AbstractOpenstackProducer.java     | 2 +-
 .../component/openstack/keystone/producer/AbstractKeystoneProducer.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackEndpoint.java b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackEndpoint.java
index 8b01a572938..ef62aea5355 100644
--- a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackEndpoint.java
+++ b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackEndpoint.java
@@ -31,7 +31,7 @@ public abstract class AbstractOpenstackEndpoint extends DefaultEndpoint {
     public static final String V2 = "V2";
     public static final String V3 = "V3";
 
-    public AbstractOpenstackEndpoint(String endpointUri, Component component) {
+    protected AbstractOpenstackEndpoint(String endpointUri, Component component) {
         super(endpointUri, component);
     }
 
diff --git a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackProducer.java b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackProducer.java
index a2fe74be0db..9eea683d1aa 100644
--- a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackProducer.java
+++ b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/common/AbstractOpenstackProducer.java
@@ -36,7 +36,7 @@ public abstract class AbstractOpenstackProducer extends DefaultProducer {
 
     private AbstractOpenstackEndpoint endpoint;
 
-    public AbstractOpenstackProducer(AbstractOpenstackEndpoint endpoint, OSClient client) {
+    protected AbstractOpenstackProducer(AbstractOpenstackEndpoint endpoint, OSClient client) {
         super(endpoint);
         this.os = client;
         this.endpoint = endpoint;
diff --git a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/keystone/producer/AbstractKeystoneProducer.java b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/keystone/producer/AbstractKeystoneProducer.java
index baaea1d23f1..cf8bbf86d0e 100644
--- a/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/keystone/producer/AbstractKeystoneProducer.java
+++ b/components/camel-openstack/src/main/java/org/apache/camel/component/openstack/keystone/producer/AbstractKeystoneProducer.java
@@ -24,7 +24,7 @@ public abstract class AbstractKeystoneProducer extends AbstractOpenstackProducer
 
     OSClient.OSClientV3 osV3Client;
 
-    public AbstractKeystoneProducer(AbstractOpenstackEndpoint endpoint, OSClient client) {
+    protected AbstractKeystoneProducer(AbstractOpenstackEndpoint endpoint, OSClient client) {
         super(endpoint, client);
         if (!(client instanceof OSClient.OSClientV3)) {
             throw new IllegalArgumentException("Only Identity API V3 is supported");


[camel] 17/40: (chores) camel-github: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 bd7373b86020f0792640914f78ae17f2c10bcd9b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:37:15 2023 +0200

    (chores) camel-github: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/github/consumer/AbstractGitHubConsumer.java  | 2 +-
 .../apache/camel/component/github/producer/AbstractGitHubProducer.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/consumer/AbstractGitHubConsumer.java b/components/camel-github/src/main/java/org/apache/camel/component/github/consumer/AbstractGitHubConsumer.java
index c2cfc116e1d..b1fc61c2dca 100644
--- a/components/camel-github/src/main/java/org/apache/camel/component/github/consumer/AbstractGitHubConsumer.java
+++ b/components/camel-github/src/main/java/org/apache/camel/component/github/consumer/AbstractGitHubConsumer.java
@@ -36,7 +36,7 @@ public abstract class AbstractGitHubConsumer extends ScheduledPollConsumer {
 
     private Repository repository;
 
-    public AbstractGitHubConsumer(GitHubEndpoint endpoint, Processor processor) throws Exception {
+    protected AbstractGitHubConsumer(GitHubEndpoint endpoint, Processor processor) throws Exception {
         super(endpoint, processor);
         this.endpoint = endpoint;
 
diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/producer/AbstractGitHubProducer.java b/components/camel-github/src/main/java/org/apache/camel/component/github/producer/AbstractGitHubProducer.java
index d7d7ca2af3a..c05e4c99572 100644
--- a/components/camel-github/src/main/java/org/apache/camel/component/github/producer/AbstractGitHubProducer.java
+++ b/components/camel-github/src/main/java/org/apache/camel/component/github/producer/AbstractGitHubProducer.java
@@ -33,7 +33,7 @@ public abstract class AbstractGitHubProducer extends DefaultProducer {
 
     private Repository repository;
 
-    public AbstractGitHubProducer(GitHubEndpoint endpoint) throws Exception {
+    protected AbstractGitHubProducer(GitHubEndpoint endpoint) throws Exception {
         super(endpoint);
         this.endpoint = endpoint;
 


[camel] 40/40: (chores) camel-jms: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 b1d2b4ca533745da9f3326d611fb81efe9cb85af
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 10:00:54 2023 +0200

    (chores) camel-jms: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/jms/reply/ReplyManagerSupport.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/ReplyManagerSupport.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/ReplyManagerSupport.java
index 6a61371ad87..9a81edc48ea 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/ReplyManagerSupport.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/reply/ReplyManagerSupport.java
@@ -64,7 +64,7 @@ public abstract class ReplyManagerSupport extends ServiceSupport implements Repl
     protected CorrelationTimeoutMap correlation;
     protected String correlationProperty;
 
-    public ReplyManagerSupport(CamelContext camelContext) {
+    protected ReplyManagerSupport(CamelContext camelContext) {
         this.camelContext = camelContext;
     }
 


[camel] 05/40: (chores) camel-bindy: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 4c6cc0d4e0325e241c11efc413bfc52f2ac2d883
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:32:10 2023 +0200

    (chores) camel-bindy: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/dataformat/bindy/BindyAbstractDataFormat.java    | 2 +-
 .../org/apache/camel/dataformat/bindy/BindyAbstractFactory.java   | 2 +-
 .../camel/dataformat/bindy/format/AbstractNumberFormat.java       | 4 ++--
 .../apache/camel/dataformat/bindy/format/NumberPatternFormat.java | 8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractDataFormat.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractDataFormat.java
index 1ba0e1ae6c9..9e39fe187ae 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractDataFormat.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractDataFormat.java
@@ -52,7 +52,7 @@ public abstract class BindyAbstractDataFormat extends ServiceSupport implements
     private boolean unwrapSingleInstance = true;
     private boolean allowEmptyStream;
 
-    public BindyAbstractDataFormat() {
+    protected BindyAbstractDataFormat() {
     }
 
     protected BindyAbstractDataFormat(Class<?> classType) {
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractFactory.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractFactory.java
index ca1d6b9a18a..7821be29b43 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractFactory.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyAbstractFactory.java
@@ -50,7 +50,7 @@ public abstract class BindyAbstractFactory implements BindyFactory {
     private String locale;
     private Class<?> type;
 
-    public BindyAbstractFactory(Class<?> type) throws Exception {
+    protected BindyAbstractFactory(Class<?> type) throws Exception {
         this.type = type;
 
         if (LOG.isDebugEnabled()) {
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/AbstractNumberFormat.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/AbstractNumberFormat.java
index 5c4990fca46..cd8e92515ce 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/AbstractNumberFormat.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/AbstractNumberFormat.java
@@ -34,14 +34,14 @@ public abstract class AbstractNumberFormat<T extends Number> implements Format<T
     /**
      *
      */
-    public AbstractNumberFormat() {
+    protected AbstractNumberFormat() {
         this(false, 0, null);
     }
 
     /**
      *
      */
-    public AbstractNumberFormat(boolean impliedDecimalPosition, int precision, Locale locale) {
+    protected AbstractNumberFormat(boolean impliedDecimalPosition, int precision, Locale locale) {
         this.impliedDecimalPosition = impliedDecimalPosition;
         this.precision = precision > 0 ? precision : 0;
         this.format = null;
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/NumberPatternFormat.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/NumberPatternFormat.java
index 69c2ef5bd43..f3569357040 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/NumberPatternFormat.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/NumberPatternFormat.java
@@ -32,16 +32,16 @@ public abstract class NumberPatternFormat<T> implements PatternFormat<T> {
     private int precision;
     private String rounding;
 
-    public NumberPatternFormat() {
+    protected NumberPatternFormat() {
     }
 
-    public NumberPatternFormat(String pattern, Locale locale) {
+    protected NumberPatternFormat(String pattern, Locale locale) {
         this.pattern = pattern;
         this.locale = locale;
     }
 
-    public NumberPatternFormat(String pattern, Locale locale, int precision, String rounding, String decimalSeparator,
-                               String groupingSeparator) {
+    protected NumberPatternFormat(String pattern, Locale locale, int precision, String rounding, String decimalSeparator,
+                                  String groupingSeparator) {
         this.pattern = pattern;
         this.locale = locale;
         this.decimalSeparator = decimalSeparator;


[camel] 13/40: (chores) camel-file: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 8cb4830cbd59c2eca545794040712cdce9407174
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:34:35 2023 +0200

    (chores) camel-file: align visibility of the constructor with the one declared in the class
---
 .../java/org/apache/camel/component/file/GenericFileComponent.java    | 4 ++--
 .../java/org/apache/camel/component/file/GenericFileConsumer.java     | 4 ++--
 .../java/org/apache/camel/component/file/GenericFileEndpoint.java     | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileComponent.java b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileComponent.java
index c9f7f24aeb5..5deb420f712 100644
--- a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileComponent.java
+++ b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileComponent.java
@@ -39,10 +39,10 @@ public abstract class GenericFileComponent<T> extends DefaultComponent {
 
     protected Logger log = LoggerFactory.getLogger(getClass());
 
-    public GenericFileComponent() {
+    protected GenericFileComponent() {
     }
 
-    public GenericFileComponent(CamelContext context) {
+    protected GenericFileComponent(CamelContext context) {
         super(context);
     }
 
diff --git a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
index 8812150e8de..45808a4cbf6 100644
--- a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
+++ b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConsumer.java
@@ -61,8 +61,8 @@ public abstract class GenericFileConsumer<T> extends ScheduledBatchPollingConsum
     private final String[] includeExt;
     private final String[] excludeExt;
 
-    public GenericFileConsumer(GenericFileEndpoint<T> endpoint, Processor processor, GenericFileOperations<T> operations,
-                               GenericFileProcessStrategy<T> processStrategy) {
+    protected GenericFileConsumer(GenericFileEndpoint<T> endpoint, Processor processor, GenericFileOperations<T> operations,
+                                  GenericFileProcessStrategy<T> processStrategy) {
         super(endpoint, processor);
         this.endpoint = endpoint;
         this.operations = operations;
diff --git a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
index 2628b7d5d1d..5dc26d43232 100644
--- a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
+++ b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
@@ -439,10 +439,10 @@ public abstract class GenericFileEndpoint<T> extends ScheduledPollEndpoint imple
     private Pattern includePattern;
     private Pattern excludePattern;
 
-    public GenericFileEndpoint() {
+    protected GenericFileEndpoint() {
     }
 
-    public GenericFileEndpoint(String endpointUri, Component component) {
+    protected GenericFileEndpoint(String endpointUri, Component component) {
         super(endpointUri, component);
     }
 


[camel] 30/40: (chores) camel-micrometer: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 330956344ba2af79e9e0a12b41993135e30d5451
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:54:45 2023 +0200

    (chores) camel-micrometer: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/micrometer/AbstractMicrometerProducer.java   | 2 +-
 .../micrometer/eventnotifier/AbstractMicrometerEventNotifier.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/AbstractMicrometerProducer.java b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/AbstractMicrometerProducer.java
index 302abf2564a..60b79df4a39 100644
--- a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/AbstractMicrometerProducer.java
+++ b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/AbstractMicrometerProducer.java
@@ -39,7 +39,7 @@ public abstract class AbstractMicrometerProducer<T extends Meter> extends Defaul
 
     private static final String HEADER_PATTERN = HEADER_PREFIX + "*";
 
-    public AbstractMicrometerProducer(MicrometerEndpoint endpoint) {
+    protected AbstractMicrometerProducer(MicrometerEndpoint endpoint) {
         super(endpoint);
     }
 
diff --git a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/AbstractMicrometerEventNotifier.java b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/AbstractMicrometerEventNotifier.java
index c4ed90108ba..ee8e9553a67 100644
--- a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/AbstractMicrometerEventNotifier.java
+++ b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/AbstractMicrometerEventNotifier.java
@@ -41,7 +41,7 @@ public abstract class AbstractMicrometerEventNotifier<T extends CamelEvent> exte
     private boolean prettyPrint;
     private TimeUnit durationUnit = TimeUnit.MILLISECONDS;
 
-    public AbstractMicrometerEventNotifier(Class<T> eventType) {
+    protected AbstractMicrometerEventNotifier(Class<T> eventType) {
         this.eventType = eventType;
     }
 


[camel] 09/40: (chores) camel-debezium: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 d9a9feb8dd4582fd5005a2bf75221d19937ece77
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:33:03 2023 +0200

    (chores) camel-debezium: align visibility of the constructor with the one declared in the class
---
 .../component/debezium/configuration/EmbeddedDebeziumConfiguration.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-debezium/camel-debezium-common/camel-debezium-common-component/src/main/java/org/apache/camel/component/debezium/configuration/EmbeddedDebeziumConfiguration.java b/components/camel-debezium/camel-debezium-common/camel-debezium-common-component/src/main/java/org/apache/camel/component/debezium/configuration/EmbeddedDebeziumConfiguration.java
index 0460906ea79..9b22c9c815b 100644
--- a/components/camel-debezium/camel-debezium-common/camel-debezium-common-component/src/main/java/org/apache/camel/component/debezium/configuration/EmbeddedDebeziumConfiguration.java
+++ b/components/camel-debezium/camel-debezium-common/camel-debezium-common-component/src/main/java/org/apache/camel/component/debezium/configuration/EmbeddedDebeziumConfiguration.java
@@ -101,7 +101,7 @@ public abstract class EmbeddedDebeziumConfiguration implements Cloneable {
                             + "`additionalProperties.`. E.g: `additionalProperties.transactional.id=12345&additionalProperties.schema.registry.url=http://localhost:8811/avro`")
     private Map<String, Object> additionalProperties = new HashMap<>();
 
-    public EmbeddedDebeziumConfiguration() {
+    protected EmbeddedDebeziumConfiguration() {
         ObjectHelper.notNull(configureConnectorClass(), "connectorClass");
         this.connectorClass = configureConnectorClass();
     }


[camel] 02/40: (chores) camel-atom: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 8c3fea8953faa45179286ee09de8adb44cd26ad7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:24:03 2023 +0200

    (chores) camel-atom: align visibility of the constructor with the one declared in the class
---
 .../src/main/java/org/apache/camel/component/feed/FeedComponent.java  | 2 +-
 .../src/main/java/org/apache/camel/component/feed/FeedEndpoint.java   | 4 ++--
 .../org/apache/camel/component/feed/FeedEntryPollingConsumer.java     | 2 +-
 .../java/org/apache/camel/component/feed/FeedPollingConsumer.java     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedComponent.java b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedComponent.java
index 8fbbf6bd80d..c07eea3ab30 100644
--- a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedComponent.java
+++ b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedComponent.java
@@ -25,7 +25,7 @@ import org.apache.camel.support.DefaultComponent;
  */
 public abstract class FeedComponent extends DefaultComponent {
 
-    public FeedComponent() {
+    protected FeedComponent() {
     }
 
     @Override
diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEndpoint.java b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEndpoint.java
index 94583cd4bbb..6bdf7704f14 100644
--- a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEndpoint.java
+++ b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEndpoint.java
@@ -57,10 +57,10 @@ public abstract class FeedEndpoint extends DefaultPollingEndpoint {
     @Deprecated
     private String password;
 
-    public FeedEndpoint() {
+    protected FeedEndpoint() {
     }
 
-    public FeedEndpoint(String endpointUri, FeedComponent component, String feedUri) {
+    protected FeedEndpoint(String endpointUri, FeedComponent component, String feedUri) {
         super(endpointUri, component);
         this.feedUri = feedUri;
     }
diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEntryPollingConsumer.java b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEntryPollingConsumer.java
index 0f33cc36fcd..2f7394f6e27 100644
--- a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEntryPollingConsumer.java
+++ b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedEntryPollingConsumer.java
@@ -35,7 +35,7 @@ public abstract class FeedEntryPollingConsumer<E> extends FeedPollingConsumer im
     protected boolean throttleEntries;
     protected Object feed;
 
-    public FeedEntryPollingConsumer(FeedEndpoint endpoint, Processor processor, boolean throttleEntries) {
+    protected FeedEntryPollingConsumer(FeedEndpoint endpoint, Processor processor, boolean throttleEntries) {
         super(endpoint, processor);
         this.throttleEntries = throttleEntries;
     }
diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedPollingConsumer.java b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedPollingConsumer.java
index 9c4ccf2adc6..680598a3b65 100644
--- a/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedPollingConsumer.java
+++ b/components/camel-atom/src/main/java/org/apache/camel/component/feed/FeedPollingConsumer.java
@@ -27,7 +27,7 @@ public abstract class FeedPollingConsumer extends ScheduledPollConsumer {
     public static final long DEFAULT_CONSUMER_DELAY = 60 * 1000L;
     protected final FeedEndpoint endpoint;
 
-    public FeedPollingConsumer(FeedEndpoint endpoint, Processor processor) {
+    protected FeedPollingConsumer(FeedEndpoint endpoint, Processor processor) {
         super(endpoint, processor);
         this.endpoint = endpoint;
     }


[camel] 24/40: (chores) camel-jackson: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 d0d81d675d086f123abccbffae32b3da7949df46
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:45:13 2023 +0200

    (chores) camel-jackson: align visibility of the constructor with the one declared in the class
---
 .../camel/component/jackson/AbstractJacksonDataFormat.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java
index 25ad8f9e74a..7bf41509fa0 100644
--- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java
+++ b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java
@@ -87,7 +87,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport
     /**
      * Use the default Jackson {@link ObjectMapper} and {@link Object}
      */
-    public AbstractJacksonDataFormat() {
+    protected AbstractJacksonDataFormat() {
         this(Object.class);
     }
 
@@ -96,7 +96,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport
      *
      * @param unmarshalType the custom unmarshal type
      */
-    public AbstractJacksonDataFormat(Class<?> unmarshalType) {
+    protected AbstractJacksonDataFormat(Class<?> unmarshalType) {
         this(unmarshalType, null);
     }
 
@@ -107,7 +107,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport
      * @param jsonView      marker class to specify properties to be included during marshalling. See also
      *                      https://github.com/FasterXML/jackson-annotations/blob/master/src/main/java/com/fasterxml/jackson/annotation/JsonView.java
      */
-    public AbstractJacksonDataFormat(Class<?> unmarshalType, Class<?> jsonView) {
+    protected AbstractJacksonDataFormat(Class<?> unmarshalType, Class<?> jsonView) {
         this.unmarshalType = unmarshalType;
         this.jsonView = jsonView;
     }
@@ -118,7 +118,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport
      * @param mapper        the custom mapper
      * @param unmarshalType the custom unmarshal type
      */
-    public AbstractJacksonDataFormat(ObjectMapper mapper, Class<?> unmarshalType) {
+    protected AbstractJacksonDataFormat(ObjectMapper mapper, Class<?> unmarshalType) {
         this(mapper, unmarshalType, null);
     }
 
@@ -130,7 +130,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport
      * @param jsonView      marker class to specify properties to be included during marshalling. See also
      *                      https://github.com/FasterXML/jackson-annotations/blob/master/src/main/java/com/fasterxml/jackson/annotation/JsonView.java
      */
-    public AbstractJacksonDataFormat(ObjectMapper mapper, Class<?> unmarshalType, Class<?> jsonView) {
+    protected AbstractJacksonDataFormat(ObjectMapper mapper, Class<?> unmarshalType, Class<?> jsonView) {
         this.objectMapper = mapper;
         this.unmarshalType = unmarshalType;
         this.jsonView = jsonView;


[camel] 26/40: (chores) camel-jira: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 cf26cfa0526f17d695987bff9404e4a2ec82cb50
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:45:36 2023 +0200

    (chores) camel-jira: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/jira/consumer/AbstractJiraConsumer.java  | 2 +-
 .../org/apache/camel/component/jira/oauth/OAuthHttpClientDecorator.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/AbstractJiraConsumer.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/AbstractJiraConsumer.java
index 29b74c9d72b..407409d26cc 100644
--- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/AbstractJiraConsumer.java
+++ b/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/AbstractJiraConsumer.java
@@ -39,7 +39,7 @@ public abstract class AbstractJiraConsumer extends ScheduledPollConsumer {
 
     private final JiraEndpoint endpoint;
 
-    public AbstractJiraConsumer(JiraEndpoint endpoint, Processor processor) {
+    protected AbstractJiraConsumer(JiraEndpoint endpoint, Processor processor) {
         super(endpoint, processor);
         this.endpoint = endpoint;
         setDelay(endpoint.getDelay());
diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/oauth/OAuthHttpClientDecorator.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/oauth/OAuthHttpClientDecorator.java
index 1888e94857e..c71b1fc73d1 100644
--- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/oauth/OAuthHttpClientDecorator.java
+++ b/components/camel-jira/src/main/java/org/apache/camel/component/jira/oauth/OAuthHttpClientDecorator.java
@@ -36,7 +36,7 @@ public abstract class OAuthHttpClientDecorator implements DisposableHttpClient {
     private final AuthenticationHandler authenticationHandler;
     private URI uri;
 
-    public OAuthHttpClientDecorator(HttpClient httpClient, AuthenticationHandler authenticationHandler) {
+    protected OAuthHttpClientDecorator(HttpClient httpClient, AuthenticationHandler authenticationHandler) {
         this.httpClient = httpClient;
         this.authenticationHandler = authenticationHandler;
     }


[camel] 32/40: (chores) camel-mock: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 eeb6095cd90b9ddd3595b5c36dbf1e2b9a2ad527
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:57:33 2023 +0200

    (chores) camel-mock: align visibility of the constructor with the one declared in the class
---
 .../src/main/java/org/apache/camel/component/mock/AssertionClause.java  | 2 +-
 .../main/java/org/apache/camel/component/mock/AssertionClauseTask.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClause.java b/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClause.java
index dc2c856649c..7f21f5737c2 100644
--- a/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClause.java
+++ b/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClause.java
@@ -38,7 +38,7 @@ public abstract class AssertionClause extends MockExpressionClauseSupport<MockVa
     private final Expression previous = new PreviousTimestamp();
     private final Expression next = new NextTimestamp();
 
-    public AssertionClause(MockEndpoint mock) {
+    protected AssertionClause(MockEndpoint mock) {
         super(null);
         this.mock = mock;
     }
diff --git a/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClauseTask.java b/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClauseTask.java
index e65bae9b7d5..355f603cb59 100644
--- a/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClauseTask.java
+++ b/components/camel-mock/src/main/java/org/apache/camel/component/mock/AssertionClauseTask.java
@@ -21,7 +21,7 @@ package org.apache.camel.component.mock;
  */
 public abstract class AssertionClauseTask extends AssertionClause implements AssertionTask {
 
-    public AssertionClauseTask(MockEndpoint mock) {
+    protected AssertionClauseTask(MockEndpoint mock) {
         super(mock);
     }
 }


[camel] 14/40: (chores) camel-flink: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 c028df17bb8d6b42f29ab9e01c213d88ead168c5
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:34:44 2023 +0200

    (chores) camel-flink: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/flink/ConvertingDataSetCallback.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/ConvertingDataSetCallback.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/ConvertingDataSetCallback.java
index 730664bf397..3796fcc4265 100644
--- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/ConvertingDataSetCallback.java
+++ b/components/camel-flink/src/main/java/org/apache/camel/component/flink/ConvertingDataSetCallback.java
@@ -27,7 +27,7 @@ public abstract class ConvertingDataSetCallback<T> implements DataSetCallback<T>
 
     private final Class[] payloadTypes;
 
-    public ConvertingDataSetCallback(CamelContext camelContext, Class... payloadTypes) {
+    protected ConvertingDataSetCallback(CamelContext camelContext, Class... payloadTypes) {
         this.camelContext = camelContext;
         this.payloadTypes = payloadTypes;
     }


[camel] 21/40: (chores) camel-hyperledger-aries: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 93760b71a79f3fd7cf164d4e07a7127120fc1a58
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:41:24 2023 +0200

    (chores) camel-hyperledger-aries: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/aries/handler/AbstractServiceHandler.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/handler/AbstractServiceHandler.java b/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/handler/AbstractServiceHandler.java
index 7e0f0b2cd55..4f1e45abc5d 100644
--- a/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/handler/AbstractServiceHandler.java
+++ b/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/handler/AbstractServiceHandler.java
@@ -39,7 +39,7 @@ public abstract class AbstractServiceHandler implements ServiceHandler {
 
     protected final HyperledgerAriesEndpoint endpoint;
 
-    public AbstractServiceHandler(HyperledgerAriesEndpoint endpoint) {
+    protected AbstractServiceHandler(HyperledgerAriesEndpoint endpoint) {
         this.endpoint = endpoint;
     }
 


[camel] 25/40: (chores) camel-jetty-common: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 528c1f0e66d15b7d7770aac3d6c914d29bd91d4b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:45:18 2023 +0200

    (chores) camel-jetty-common: align visibility of the constructor with the one declared in the class
---
 .../main/java/org/apache/camel/component/jetty/JettyHttpComponent.java  | 2 +-
 .../main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index e62fb3609fd..ba3b3f177eb 100644
--- a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -134,7 +134,7 @@ public abstract class JettyHttpComponent extends HttpCommonComponent
     private boolean sendServerVersion = true;
     private QueuedThreadPool defaultQueuedThreadPool;
 
-    public JettyHttpComponent() {
+    protected JettyHttpComponent() {
     }
 
     static class ConnectorRef {
diff --git a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
index 78682f23fbb..e55de8d45b2 100644
--- a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
+++ b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
@@ -81,7 +81,7 @@ public abstract class JettyHttpEndpoint extends HttpCommonEndpoint {
               description = "To configure security using SSLContextParameters")
     private SSLContextParameters sslContextParameters;
 
-    public JettyHttpEndpoint(JettyHttpComponent component, String uri, URI httpURL) {
+    protected JettyHttpEndpoint(JettyHttpComponent component, String uri, URI httpURL) {
         super(uri, component, httpURL);
     }
 


[camel] 39/40: (chores) camel-consul: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 250928c8020d5ac8dd0cb3d035f39c2186a72b85
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 10:00:45 2023 +0200

    (chores) camel-consul: align visibility of the constructor with the one declared in the class
---
 .../org/apache/camel/component/consul/ConsulClientConfiguration.java    | 2 +-
 .../apache/camel/component/consul/endpoint/AbstractConsulConsumer.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulClientConfiguration.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulClientConfiguration.java
index b5dd71dddc7..7151e89df53 100644
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulClientConfiguration.java
+++ b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulClientConfiguration.java
@@ -74,7 +74,7 @@ public abstract class ConsulClientConfiguration implements Cloneable {
     @UriParam(label = "consumer,watch", defaultValue = "false")
     private boolean recursive;
 
-    public ConsulClientConfiguration() {
+    protected ConsulClientConfiguration() {
     }
 
     public String getUrl() {
diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/AbstractConsulConsumer.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/AbstractConsulConsumer.java
index c633350de78..2ceb2734121 100644
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/AbstractConsulConsumer.java
+++ b/components/camel-consul/src/main/java/org/apache/camel/component/consul/endpoint/AbstractConsulConsumer.java
@@ -77,7 +77,7 @@ abstract class AbstractConsulConsumer<C> extends DefaultConsumer {
     protected abstract class AbstractWatcher implements Runnable {
         private final C client;
 
-        public AbstractWatcher(C client) {
+        protected AbstractWatcher(C client) {
             this.client = client;
         }
 


[camel] 03/40: (chores) camel-avro-rpc: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 fe4df8e3e76e869b26af7564a4fe514c39b4b011
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:26:42 2023 +0200

    (chores) camel-avro-rpc: align visibility of the constructor with the one declared in the class
---
 .../src/main/java/org/apache/camel/component/avro/AvroEndpoint.java     | 2 +-
 .../src/main/java/org/apache/camel/component/avro/AvroProducer.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroEndpoint.java b/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroEndpoint.java
index 944099fc711..7d97073c105 100644
--- a/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroEndpoint.java
+++ b/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroEndpoint.java
@@ -41,7 +41,7 @@ public abstract class AvroEndpoint extends DefaultEndpoint implements AsyncEndpo
     @UriParam
     private AvroConfiguration configuration;
 
-    public AvroEndpoint(String endpointUri, Component component, AvroConfiguration configuration) {
+    protected AvroEndpoint(String endpointUri, Component component, AvroConfiguration configuration) {
         super(endpointUri, component);
         this.configuration = configuration;
     }
diff --git a/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroProducer.java b/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroProducer.java
index 62b24e9bb1f..fa77d1d5273 100644
--- a/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroProducer.java
+++ b/components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroProducer.java
@@ -30,7 +30,7 @@ public abstract class AvroProducer extends DefaultAsyncProducer {
     Transceiver transceiver;
     Requestor requestor;
 
-    public AvroProducer(Endpoint endpoint) {
+    protected AvroProducer(Endpoint endpoint) {
         super(endpoint);
     }
 


[camel] 35/40: (chores) camel-nitrite: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 4d50236a03ece62a44f7b6fd3f2c2c846368a402
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:58:36 2023 +0200

    (chores) camel-nitrite: align visibility of the constructor with the one declared in the class
---
 .../component/nitrite/operation/AbstractPayloadAwareOperation.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-nitrite/src/main/java/org/apache/camel/component/nitrite/operation/AbstractPayloadAwareOperation.java b/components/camel-nitrite/src/main/java/org/apache/camel/component/nitrite/operation/AbstractPayloadAwareOperation.java
index c944e2da4b9..cae3b86eda9 100644
--- a/components/camel-nitrite/src/main/java/org/apache/camel/component/nitrite/operation/AbstractPayloadAwareOperation.java
+++ b/components/camel-nitrite/src/main/java/org/apache/camel/component/nitrite/operation/AbstractPayloadAwareOperation.java
@@ -26,15 +26,15 @@ import org.dizitart.no2.Document;
 public abstract class AbstractPayloadAwareOperation extends AbstractNitriteOperation {
     private Expression expression;
 
-    public AbstractPayloadAwareOperation(Object body) {
+    protected AbstractPayloadAwareOperation(Object body) {
         this.expression = ExpressionBuilder.constantExpression(body);
     }
 
-    public AbstractPayloadAwareOperation(Expression expression) {
+    protected AbstractPayloadAwareOperation(Expression expression) {
         this.expression = expression;
     }
 
-    public AbstractPayloadAwareOperation() {
+    protected AbstractPayloadAwareOperation() {
         this.expression = ExpressionBuilder.bodyExpression();
     }
 


[camel] 01/40: (chores) camel-as2: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 25eb7127a7143c8cb4e35fbcf64fcd33487b4096
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:23:23 2023 +0200

    (chores) camel-as2: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/as2/api/entity/MultipartMimeEntity.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/MultipartMimeEntity.java b/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/MultipartMimeEntity.java
index e475377ebb2..aa7d0936c93 100644
--- a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/MultipartMimeEntity.java
+++ b/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/MultipartMimeEntity.java
@@ -33,15 +33,15 @@ public abstract class MultipartMimeEntity extends MimeEntity {
 
     private final List<MimeEntity> parts = new ArrayList<>();
 
-    public MultipartMimeEntity(ContentType contentType) {
+    protected MultipartMimeEntity(ContentType contentType) {
         this(contentType, false, null);
     }
 
-    public MultipartMimeEntity(ContentType contentType, boolean isMainBody) {
+    protected MultipartMimeEntity(ContentType contentType, boolean isMainBody) {
         this(contentType, isMainBody, null);
     }
 
-    public MultipartMimeEntity(ContentType contentType, boolean isMainBody, String boundary) {
+    protected MultipartMimeEntity(ContentType contentType, boolean isMainBody, String boundary) {
         setContentType(contentType);
         setMainBody(isMainBody);
 


[camel] 34/40: (chores) camel-netty-http: align visibility of the constructor with the one declared in the class

Posted by or...@apache.org.
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 b1ce94a91679f76946232cb9ce121c2c554846f6
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:58:29 2023 +0200

    (chores) camel-netty-http: align visibility of the constructor with the one declared in the class
---
 .../apache/camel/component/netty/http/SecurityAuthenticatorSupport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java
index 462780c6bea..e074e8379f1 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java
@@ -39,7 +39,7 @@ public abstract class SecurityAuthenticatorSupport implements SecurityAuthentica
     private String name;
     private String roleClassNames;
 
-    public SecurityAuthenticatorSupport() {
+    protected SecurityAuthenticatorSupport() {
     }
 
     @Override