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:02 UTC
[camel] 18/40: (chores) camel-grpc: 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 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;