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:25:00 UTC

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

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;
     }