From 036ffbb552756a683bb691f93be55f617487ab58 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 3 Jul 2024 09:51:43 +0900 Subject: [PATCH] Collectors.toList() -> .toList() --- src/main/java/cokr/xit/foundation/boot/Yml.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/foundation/boot/Yml.java b/src/main/java/cokr/xit/foundation/boot/Yml.java index b10a301..5e9913f 100644 --- a/src/main/java/cokr/xit/foundation/boot/Yml.java +++ b/src/main/java/cokr/xit/foundation/boot/Yml.java @@ -73,7 +73,7 @@ public class Yml { return getPrefixed(prefix).stream() .map(entry -> entry.getValue().toString()) - .collect(Collectors.toList()); + .toList(); } private List> getPrefixed(String prefix) { @@ -125,6 +125,6 @@ public class Yml { }) .collect(Collectors.toSet()).stream() .map(this::getMap) - .collect(Collectors.toList()); + .toList(); } } \ No newline at end of file