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