소스 검색

remove 删除无用注释

疯狂的狮子Li 2 년 전
부모
커밋
8a86c5bdc5
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      ruoyi-common/src/main/java/com/ruoyi/common/utils/StreamUtils.java

+ 0 - 3
ruoyi-common/src/main/java/com/ruoyi/common/utils/StreamUtils.java

@@ -30,7 +30,6 @@ public class StreamUtils {
         if (CollUtil.isEmpty(collection)) {
             return CollUtil.newArrayList();
         }
-        // 注意此处不要使用 .toList() 新语法 因为返回的是不可变List 会导致序列化问题
         return collection.stream().filter(function).collect(Collectors.toList());
     }
 
@@ -71,7 +70,6 @@ public class StreamUtils {
         if (CollUtil.isEmpty(collection)) {
             return CollUtil.newArrayList();
         }
-        // 注意此处不要使用 .toList() 新语法 因为返回的是不可变List 会导致序列化问题
         return collection.stream().filter(Objects::nonNull).sorted(comparing).collect(Collectors.toList());
     }
 
@@ -190,7 +188,6 @@ public class StreamUtils {
             .stream()
             .map(function)
             .filter(Objects::nonNull)
-            // 注意此处不要使用 .toList() 新语法 因为返回的是不可变List 会导致序列化问题
             .collect(Collectors.toList());
     }