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 2026/04/08 10:16:02 UTC

(camel) 34/38: (chores): fix SonarCloud S5993 in camel-test-infra-artemis

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 658afc9b7e29ba28e5496ea676e59408d13aa68e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sat Mar 28 13:42:57 2026 +0000

    (chores): fix SonarCloud S5993 in camel-test-infra-artemis
    
    Change public constructors of abstract classes to protected.
    
    Claude Code on behalf of Otavio R. Piske
    
    Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>
---
 .../test/infra/artemis/services/AbstractArtemisEmbeddedService.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-infra/camel-test-infra-artemis/src/main/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java b/test-infra/camel-test-infra-artemis/src/main/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java
index 6aab1711c47d..ad6d7d746e8f 100644
--- a/test-infra/camel-test-infra-artemis/src/main/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java
+++ b/test-infra/camel-test-infra-artemis/src/main/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java
@@ -51,7 +51,7 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisInfraServ
 
     private static final int DEFAULT_PORT = 61616;
 
-    public AbstractArtemisEmbeddedService() {
+    protected AbstractArtemisEmbeddedService() {
         this(getPort());
     }