diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-02 12:38:30 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-02 12:58:25 +0100 |
commit | cc25a94b7e3d45d01c35fc464d8bb67165b1480e (patch) | |
tree | 2eebc3a2d44e95902e4d0867f5fb274203afd428 /controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java | |
parent | e88b274e49c2b74495caa210621ac0cc47d797cc (diff) |
Let list handling catch up with Java 17
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java index 55f65d71165..7db85da1dbb 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/Issue.java @@ -1,8 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.api.integration.organization; -import com.google.common.collect.ImmutableList; - import java.util.ArrayList; import java.util.Collections; import java.util.List; @@ -30,7 +28,7 @@ public class Issue { this.summary = summary; this.description = description; - this.labels = ImmutableList.copyOf(labels); + this.labels = List.copyOf(labels); this.assignee = assignee; this.type = type; this.queue = queue; |