summaryrefslogtreecommitdiffstats
path: root/athenz-identity-provider-service
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-12-04 23:02:31 +0100
committerGitHub <noreply@github.com>2022-12-04 23:02:31 +0100
commit2555b49b4390ed9dac9eab3959d6cc6e3511515c (patch)
tree88ab77cc41620eb2b8639b10b7edd1e57b901f12 /athenz-identity-provider-service
parentfae49834f53500587921196e86ee4af4c670d8c9 (diff)
parentfd54b4e4b136b05b67b471dca3ca6ce3dd116710 (diff)
Merge pull request #25103 from vespa-engine/balder/manual-revert-of-25097
Revert collect(Collectors.toList())
Diffstat (limited to 'athenz-identity-provider-service')
-rw-r--r--athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/InstanceValidatorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/InstanceValidatorTest.java b/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/InstanceValidatorTest.java
index 2b5165a815a..c3e4ba44fc8 100644
--- a/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/InstanceValidatorTest.java
+++ b/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/InstanceValidatorTest.java
@@ -248,7 +248,7 @@ public class InstanceValidatorTest {
private ApplicationInfo mockApplicationInfo(ApplicationId appId, int numHosts, List<ServiceInfo> serviceInfo) {
List<HostInfo> hosts = IntStream.range(0, numHosts)
.mapToObj(i -> new HostInfo("host-" + i + "." + appId.toShortString() + ".yahoo.com", serviceInfo))
- .toList();
+ .collect(Collectors.toList());
Model model = mock(Model.class);
when(model.getHosts()).thenReturn(hosts);