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())