diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2022-06-09 12:58:22 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2022-06-09 13:49:37 +0200 |
commit | 8092e52a95652d4c2e6e3bc3a57e3d72f414d2b9 (patch) | |
tree | d4880117efc234d8908f50b71c958d2391dd34a5 /testutil | |
parent | 2a25b9fb6688803314903151de80cb348277d032 (diff) |
Use Inject annotation from 'annotations'
Diffstat (limited to 'testutil')
-rw-r--r-- | testutil/pom.xml | 6 | ||||
-rw-r--r-- | testutil/src/main/java/com/yahoo/test/ManualClock.java | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/testutil/pom.xml b/testutil/pom.xml index 5c6aa1881f7..f3bc9cb2212 100644 --- a/testutil/pom.xml +++ b/testutil/pom.xml @@ -27,6 +27,12 @@ <classifier>no_aop</classifier> </dependency> <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>annotations</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <scope>compile</scope> diff --git a/testutil/src/main/java/com/yahoo/test/ManualClock.java b/testutil/src/main/java/com/yahoo/test/ManualClock.java index f5fe1ea466a..d946101412d 100644 --- a/testutil/src/main/java/com/yahoo/test/ManualClock.java +++ b/testutil/src/main/java/com/yahoo/test/ManualClock.java @@ -1,7 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.test; -import com.google.inject.Inject; +import com.yahoo.component.annotation.Inject; import java.time.Clock; import java.time.Instant; import java.time.LocalDateTime; |