From ea0be830e019fab771bdeebce5494e6234ccd9c8 Mon Sep 17 00:00:00 2001 From: jrhee17 Date: Thu, 5 Dec 2024 00:15:09 +0900 Subject: [PATCH] cleanup --- .../armeria/client/retrofit2/ArmeriaRetrofitBuilder.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaRetrofitBuilder.java b/retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaRetrofitBuilder.java index 84530e93056..443d8bad840 100644 --- a/retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaRetrofitBuilder.java +++ b/retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaRetrofitBuilder.java @@ -216,8 +216,6 @@ public ArmeriaRetrofitBuilder validateEagerly(boolean validateEagerly) { * Returns a newly-created {@link Retrofit} based on the properties of this builder. */ public Retrofit build() { - final SessionProtocol protocol = webClient.scheme().sessionProtocol(); - final ClientOptions retrofitOptions = buildOptions(webClient.options()); // Re-create the base client without a path, because Retrofit will always provide a full path. final WebClient baseWebClient = WebClient.builder(webClient.executionFactory())