diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2022-05-05 12:44:27 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-06-08 11:45:21 +0200 |
commit | e70380aaa5890d9d3a4c83630f0e49b82093bfc4 (patch) | |
tree | 6983c429696daa2618d77a3e40f31c422903b85a /jdisc_core/src/main/java/com/yahoo/jdisc/core | |
parent | a0c93b2790c150509659182328f5b7d2be0d9756 (diff) |
Remove deprecated APIs exposing Guava types
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java index 808c8e89b1b..8367ea13a1a 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java @@ -1,7 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.core; -import com.google.inject.Key; import com.yahoo.jdisc.AbstractResource; import com.yahoo.jdisc.Container; import com.yahoo.jdisc.Request; @@ -37,14 +36,6 @@ class ContainerSnapshot extends AbstractResource implements Container { this.containerReference = container.refer(context); } - /** @deprecated Use {@link #getInstance(Class)} instead. */ - @Override - @Deprecated(forRemoval = true, since = "7") // TODO Vespa 8 remove - @SuppressWarnings("removal") - public <T> T getInstance(Key<T> key) { - return container.guiceInjector().getInstance(key); - } - @Override public <T> T getInstance(Class<T> type) { return container.guiceInjector().getInstance(type); |