From c1b5f2404e04ae6fc515adcbc351c41603e34f21 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Thu, 25 Apr 2019 22:46:22 +0200 Subject: Don't import deprecated class --- .../src/main/java/com/yahoo/vespa/http/client/SessionFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SessionFactory.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SessionFactory.java index 04d45afe2d0..b03a2541cd0 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SessionFactory.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SessionFactory.java @@ -4,7 +4,6 @@ package com.yahoo.vespa.http.client; import com.yahoo.vespa.http.client.config.Cluster; import com.yahoo.vespa.http.client.config.Endpoint; import com.yahoo.vespa.http.client.config.SessionParams; -import com.yahoo.vespa.http.client.core.api.SessionImpl; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledThreadPoolExecutor; @@ -31,7 +30,7 @@ public final class SessionFactory { @SuppressWarnings("deprecation") static Session createInternal(SessionParams params) { - return new SessionImpl(params, createTimeoutExecutor()); + return new com.yahoo.vespa.http.client.core.api.SessionImpl(params, createTimeoutExecutor()); } static ScheduledThreadPoolExecutor createTimeoutExecutor() { -- cgit v1.2.3