aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java
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 /controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java
parentafcf1bb71cb7b87a03149d197f724cfc7603ef92 (diff)
collect(Collectors.toList()) -> toList()
Diffstat (limited to 'controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java
index 81ae787b507..a2960754570 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationsDb.java
@@ -143,7 +143,7 @@ public class NotificationsDb {
if (!initial.equals(updated)) {
curatorDb.writeNotifications(deploymentSource.tenant(), updated);
}
- changed = newNotifications.stream().filter(n -> !notificationExists(n, initial, true)).collect(Collectors.toList());
+ changed = newNotifications.stream().filter(n -> !notificationExists(n, initial, true)).toList();
}
notifier.dispatch(changed, deploymentSource);
}