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 68d63869cc6e8b2118e1dcd7969c2c66b186979b Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Sat Mar 28 13:43:14 2026 +0000 (chores): fix SonarCloud S5993 in camel-test-infra-azure-common Change public constructors of abstract classes to protected. Claude Code on behalf of Otavio R. Piske Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --- .../test/infra/azure/common/services/AzureStorageInfraService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-infra/camel-test-infra-azure-common/src/main/java/org/apache/camel/test/infra/azure/common/services/AzureStorageInfraService.java b/test-infra/camel-test-infra-azure-common/src/main/java/org/apache/camel/test/infra/azure/common/services/AzureStorageInfraService.java index 67b16f3afa92..25a95ca2a291 100644 --- a/test-infra/camel-test-infra-azure-common/src/main/java/org/apache/camel/test/infra/azure/common/services/AzureStorageInfraService.java +++ b/test-infra/camel-test-infra-azure-common/src/main/java/org/apache/camel/test/infra/azure/common/services/AzureStorageInfraService.java @@ -29,11 +29,11 @@ public abstract class AzureStorageInfraService implements AzureInfraService, Con private static final Logger LOG = LoggerFactory.getLogger(AzureStorageInfraService.class); private final AzuriteContainer container; - public AzureStorageInfraService() { + protected AzureStorageInfraService() { this(LocalPropertyResolver.getProperty(AzureStorageInfraService.class, AzureProperties.AZURE_CONTAINER)); } - public AzureStorageInfraService(String imageName) { + protected AzureStorageInfraService(String imageName) { this.container = initContainer(imageName); String name = ContainerEnvironmentUtil.containerName(this.getClass()); if (name != null) { @@ -41,7 +41,7 @@ public abstract class AzureStorageInfraService implements AzureInfraService, Con } } - public AzureStorageInfraService(AzuriteContainer container) { + protected AzureStorageInfraService(AzuriteContainer container) { this.container = container; }
