diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-04-25 22:46:22 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-04-25 22:46:22 +0200 |
commit | c1b5f2404e04ae6fc515adcbc351c41603e34f21 (patch) | |
tree | a8f6795ce5227de90345fa604d2ef976986b54c2 /vespa-http-client | |
parent | b89ccbc43e55dc458d65374f8c265330565ca7ea (diff) |
Don't import deprecated class
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/SessionFactory.java | 3 |
1 files changed, 1 insertions, 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() { |