From be680741c2d69033fd30aa633262993c868b76e9 Mon Sep 17 00:00:00 2001 From: Joyce Ling <115662568+sfc-gh-ext-simba-jl@users.noreply.github.com> Date: Wed, 11 Oct 2023 19:03:35 -0700 Subject: [PATCH] fix style --- .../net/snowflake/client/jdbc/telemetry/TelemetryClient.java | 5 +++-- .../net/snowflake/client/jdbc/telemetry/TelemetryIT.java | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/snowflake/client/jdbc/telemetry/TelemetryClient.java b/src/main/java/net/snowflake/client/jdbc/telemetry/TelemetryClient.java index 6cef2a94f..e435e306e 100644 --- a/src/main/java/net/snowflake/client/jdbc/telemetry/TelemetryClient.java +++ b/src/main/java/net/snowflake/client/jdbc/telemetry/TelemetryClient.java @@ -193,8 +193,9 @@ public static Telemetry createTelemetry(SFSession session, int flushSize) { */ public static Telemetry createSessionlessTelemetry( CloseableHttpClient httpClient, String serverUrl) { - // By default, use KEYPAIR_JWT as the auth type - return createSessionlessTelemetry(httpClient, serverUrl, "KEYPAIR_JWT", DEFAULT_FORCE_FLUSH_SIZE); + // By default, use KEYPAIR_JWT as the auth type + return createSessionlessTelemetry( + httpClient, serverUrl, "KEYPAIR_JWT", DEFAULT_FORCE_FLUSH_SIZE); } /** diff --git a/src/test/java/net/snowflake/client/jdbc/telemetry/TelemetryIT.java b/src/test/java/net/snowflake/client/jdbc/telemetry/TelemetryIT.java index d859932ae..c9b9b6272 100644 --- a/src/test/java/net/snowflake/client/jdbc/telemetry/TelemetryIT.java +++ b/src/test/java/net/snowflake/client/jdbc/telemetry/TelemetryIT.java @@ -219,8 +219,7 @@ private TelemetryClient createSessionlessTelemetry() TelemetryClient telemetry = (TelemetryClient) TelemetryClient.createSessionlessTelemetry( - httpClient, - String.format("%s:%s", parameters.get("host"), parameters.get("port"))); + httpClient, String.format("%s:%s", parameters.get("host"), parameters.get("port"))); telemetry.refreshToken(jwtToken); return telemetry; }