summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/component/chain/Chain.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-core/src/main/java/com/yahoo/component/chain/Chain.java')
-rw-r--r--container-core/src/main/java/com/yahoo/component/chain/Chain.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/container-core/src/main/java/com/yahoo/component/chain/Chain.java b/container-core/src/main/java/com/yahoo/component/chain/Chain.java
index e44eba35efe..24c4a0a0e2e 100644
--- a/container-core/src/main/java/com/yahoo/component/chain/Chain.java
+++ b/container-core/src/main/java/com/yahoo/component/chain/Chain.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.component.chain;
-import com.google.common.collect.ImmutableList;
import com.yahoo.component.ComponentId;
import com.yahoo.component.chain.dependencies.ordering.ChainBuilder;
@@ -28,7 +27,7 @@ public class Chain<COMPONENT extends ChainedComponent> {
/** Create a chain directly. This will NOT order the chain by the ordering constraints. */
public Chain(ComponentId id, List<COMPONENT> componentList) {
this.id = id;
- this.componentList = ImmutableList.copyOf(componentList);
+ this.componentList = List.copyOf(componentList);
}
/** Create a chain directly. This will NOT order the chain by the ordering constraints. */