summaryrefslogtreecommitdiffstats
path: root/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java')
-rw-r--r--tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
index 7dae40b5836..bcf8ab53680 100644
--- a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
+++ b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/internal/TestRuntimeProvider.java
@@ -10,7 +10,7 @@ import java.util.concurrent.atomic.AtomicReference;
*/
public interface TestRuntimeProvider {
- static final AtomicReference<TestRuntime> testRuntime = new AtomicReference<>();
+ AtomicReference<TestRuntime> testRuntime = new AtomicReference<>();
void initialize(byte[] config);
@@ -18,7 +18,8 @@ public interface TestRuntimeProvider {
TestRuntimeProvider.testRuntime.set(testRuntime);
}
- public static TestRuntime getTestRuntime() {
+ static TestRuntime getTestRuntime() {
return testRuntime.get();
}
+
}