aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2021-12-03 09:21:52 +0100
committerHarald Musum <musum@yahooinc.com>2021-12-03 09:21:52 +0100
commitfbaee267c45005bfe4fdf5f037b38957c8142d29 (patch)
tree0a7f8fa69f9e36a8b226f5e6a0a8a70f91c24c81 /config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java
parent4a6a7b274588d88a96c66b0c1ef27274eda8b753 (diff)
MInor cleanup of ConfigSource in subscriptions
Diffstat (limited to 'config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java')
-rw-r--r--config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java b/config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java
index 354489ea946..737ca64b075 100644
--- a/config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.java
+++ b/config/src/main/java/com/yahoo/config/subscription/impl/GenericJRTConfigSubscription.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.config.subscription.impl;
-import com.yahoo.config.subscription.ConfigSource;
+import com.yahoo.config.subscription.ConfigSourceSet;
import com.yahoo.config.subscription.ConfigSubscriber;
import com.yahoo.vespa.config.ConfigKey;
import com.yahoo.vespa.config.RawConfig;
@@ -23,9 +23,11 @@ public class GenericJRTConfigSubscription extends JRTConfigSubscription<RawConfi
private final List<String> defContent;
- public GenericJRTConfigSubscription(ConfigKey<RawConfig> key, List<String> defContent, ConfigSubscriber subscriber,
- ConfigSource source, TimingValues timingValues)
- {
+ public GenericJRTConfigSubscription(ConfigKey<RawConfig> key,
+ List<String> defContent,
+ ConfigSubscriber subscriber,
+ ConfigSourceSet source,
+ TimingValues timingValues) {
super(key, subscriber, source, timingValues);
this.defContent = defContent;
}
@@ -84,4 +86,5 @@ public class GenericJRTConfigSubscription extends JRTConfigSubscription<RawConfi
public DefContent getDefContent() {
return (DefContent.fromList(defContent));
}
+
}