aboutsummaryrefslogtreecommitdiffstats
path: root/routing-generator/src/main
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-12-02 22:37:16 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-12-02 22:37:16 +0000
commit6954a0d10fddb9bee32931ba69b2d4b427ee71e2 (patch)
tree21e6aad059615f27c6357227e6af608a7b965ec5 /routing-generator/src/main
parentafcf1bb71cb7b87a03149d197f724cfc7603ef92 (diff)
collect(Collectors.toList()) -> toList()
Diffstat (limited to 'routing-generator/src/main')
-rw-r--r--routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java
index 8db2387bf66..de3207fda2e 100644
--- a/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java
+++ b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java
@@ -103,7 +103,7 @@ public class RoutingTable {
4443,
configuredEndpoint.weight(),
applications.getValue().activeRotation()))
- .collect(Collectors.toList());
+ .toList();
Endpoint endpoint = new Endpoint(configuredEndpoint.dnsName(), routingMethodFrom(configuredEndpoint));
ClusterSpec.Id cluster = ClusterSpec.Id.from(configuredEndpoint.clusterId());
Target target;