From e2c1b3617c94738d55559a2852f09a45a73090f7 Mon Sep 17 00:00:00 2001 From: brenoepic <65571230+brenoepic@users.noreply.github.com> Date: Wed, 7 Feb 2024 01:06:22 -0300 Subject: [PATCH 1/3] Update AzureApiBuilder.java --- src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java index fc013d6..abab409 100644 --- a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java +++ b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java @@ -137,7 +137,6 @@ public AzureApi build() { throw new NullPointerException("Subscription key cannot be null"); } - // The HTTP client used by the Azure API. HttpClient.Builder httpClient = HttpClient.newBuilder().version(HttpClient.Version.HTTP_1_1); if (proxySelector != null) { From 3cb6001f739d7cdb35cbd1cbd6a3ccb9fe92fb99 Mon Sep 17 00:00:00 2001 From: Breno A Date: Wed, 7 Feb 2024 03:56:55 -0300 Subject: [PATCH 2/3] Update AzureApiBuilder.java --- src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java index abab409..12d6ad3 100644 --- a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java +++ b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java @@ -47,7 +47,7 @@ public AzureApiBuilder baseURL(BaseURL baseURL) { * @param subscriptionKey The subscription key for the Azure API. * @return The current instance of AzureApiBuilder for method chaining. * @see Authentication + * href="https://brenoepics.github.io/at4j/guide/azure-subscription.html">Authentication * keys and endpoint URL */ public AzureApiBuilder setKey(String subscriptionKey) { @@ -136,7 +136,7 @@ public AzureApi build() { if (this.subscriptionKey == null) { throw new NullPointerException("Subscription key cannot be null"); } - + HttpClient.Builder httpClient = HttpClient.newBuilder().version(HttpClient.Version.HTTP_1_1); if (proxySelector != null) { From af53f73b475958d9e6ab342dc5fdceb2b294a71e Mon Sep 17 00:00:00 2001 From: github-actions <> Date: Wed, 7 Feb 2024 06:57:12 +0000 Subject: [PATCH 3/3] Google Java Format --- src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java index 12d6ad3..fa929e0 100644 --- a/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java +++ b/src/main/java/io/github/brenoepics/at4j/AzureApiBuilder.java @@ -46,8 +46,7 @@ public AzureApiBuilder baseURL(BaseURL baseURL) { * * @param subscriptionKey The subscription key for the Azure API. * @return The current instance of AzureApiBuilder for method chaining. - * @see Authentication + * @see Authentication * keys and endpoint URL */ public AzureApiBuilder setKey(String subscriptionKey) { @@ -136,7 +135,7 @@ public AzureApi build() { if (this.subscriptionKey == null) { throw new NullPointerException("Subscription key cannot be null"); } - + HttpClient.Builder httpClient = HttpClient.newBuilder().version(HttpClient.Version.HTTP_1_1); if (proxySelector != null) {