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:47 UTC
[camel] 03/40: (chores) camel-avro-rpc: 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 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);
}