ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/StreamUtils.java
@@ -30,7 +30,7 @@
        if (CollUtil.isEmpty(collection)) {
            return CollUtil.newArrayList();
        }
        return collection.stream().filter(function).collect(Collectors.toList());
        return collection.stream().filter(function).toList();
    }
    /**
@@ -70,7 +70,7 @@
        if (CollUtil.isEmpty(collection)) {
            return CollUtil.newArrayList();
        }
        return collection.stream().sorted(comparing).collect(Collectors.toList());
        return collection.stream().sorted(comparing).toList();
    }
    /**
@@ -188,7 +188,7 @@
            .stream()
            .map(function)
            .filter(Objects::nonNull)
            .collect(Collectors.toList());
            .toList();
    }
    /**