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:52 UTC

[camel] 08/40: (chores) camel-dataset: 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 86c12af97a03779b97bddec7538a6dd491300ebe
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Jun 17 09:32:38 2023 +0200

    (chores) camel-dataset: align visibility of the constructor with the one declared in the class
---
 .../main/java/org/apache/camel/component/dataset/DataSetSupport.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
index 315d1e16553..0d7da372d31 100644
--- a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
+++ b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetSupport.java
@@ -32,10 +32,10 @@ public abstract class DataSetSupport implements DataSet {
     private long size = 10;
     private long reportCount = -1;
 
-    public DataSetSupport() {
+    protected DataSetSupport() {
     }
 
-    public DataSetSupport(int size) {
+    protected DataSetSupport(int size) {
         setSize(size);
     }