aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-12-07 16:29:50 +0100
committerjonmv <venstad@gmail.com>2022-12-07 16:29:50 +0100
commitfe296c7af938127815e2c33e3e816546aa82f0a3 (patch)
tree8d56fcb4f0daf628ee134c0b4bc9d4de01021a85 /controller-server
parent7e3f8b212a589cbdb196fb4f4b0a7a81b4b7af13 (diff)
Avoid platform-specific error message in test
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/DeploymentStatus.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/DeploymentStatus.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/DeploymentStatus.java
index 8d983714be4..71e781ed5ed 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/DeploymentStatus.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/DeploymentStatus.java
@@ -77,7 +77,7 @@ import static java.util.stream.Collectors.toUnmodifiableList;
public class DeploymentStatus {
private static <T> List<T> union(List<T> first, List<T> second) {
- return Stream.concat(first.stream(), second.stream()).distinct().collect(toUnmodifiableList());
+ return Stream.concat(first.stream(), second.stream()).distinct().toList();
}
private final Application application;