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

Reply via email to