From 6491469bc9e419240e7af624802f46842ba8bde9 Mon Sep 17 00:00:00 2001 From: Kishan Sairam Adapa Date: Wed, 22 Nov 2023 01:07:02 +0530 Subject: [PATCH] chore: update constructor visbility for attribute service cached client (#201) * chore: update constructor visbility for attribute service cached client * spotless --- .../service/client/AttributeServiceCachedClient.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/attribute-service-client/src/main/java/org/hypertrace/core/attribute/service/client/AttributeServiceCachedClient.java b/attribute-service-client/src/main/java/org/hypertrace/core/attribute/service/client/AttributeServiceCachedClient.java index d1350f5..0f915b4 100644 --- a/attribute-service-client/src/main/java/org/hypertrace/core/attribute/service/client/AttributeServiceCachedClient.java +++ b/attribute-service-client/src/main/java/org/hypertrace/core/attribute/service/client/AttributeServiceCachedClient.java @@ -37,14 +37,15 @@ public class AttributeServiceCachedClient { private final long deadlineMs; private final ClientCallCredentialsProvider callCredentialsProvider; - AttributeServiceCachedClient(Channel channel, AttributeServiceCachedClientConfig clientConfig) { + public AttributeServiceCachedClient( + Channel channel, AttributeServiceCachedClientConfig clientConfig) { this( channel, clientConfig, RequestContextClientCallCredsProviderFactory.getClientCallCredsProvider()); } - AttributeServiceCachedClient( + public AttributeServiceCachedClient( Channel channel, AttributeServiceCachedClientConfig clientConfig, ClientCallCredentialsProvider callCredentialsProvider) {