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 <[email protected]>
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;
 

Reply via email to