diff options
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); |