From e723f28d33de6348849e90352d56f7a600e62456 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 10 五月 2024 14:23:19 +0800
Subject: [PATCH] 修改lambda错误

---
 smart-core-lanuch/src/main/java/com/qianwen/core/launch/props/BladePropertySourcePostProcessor.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/smart-core-lanuch/src/main/java/com/qianwen/core/launch/props/BladePropertySourcePostProcessor.java b/smart-core-lanuch/src/main/java/com/qianwen/core/launch/props/BladePropertySourcePostProcessor.java
index 1ccab5d..c4acbd9 100644
--- a/smart-core-lanuch/src/main/java/com/qianwen/core/launch/props/BladePropertySourcePostProcessor.java
+++ b/smart-core-lanuch/src/main/java/com/qianwen/core/launch/props/BladePropertySourcePostProcessor.java
@@ -61,7 +61,7 @@
                 loaderMap.put(extension, loader);
             }
         }
-        List<PropertyFile> sortedPropertyList = (List) propertyFileList.stream().distinct().sorted().collect(Collectors.toList());
+        List<PropertyFile> sortedPropertyList = propertyFileList.stream().distinct().sorted().collect(Collectors.toList());
         //List<PropertyFile> sortedPropertyList = propertyFileList.stream().distinct().sorted().collect(Collectors.toList());
         ConfigurableEnvironment environment = (ConfigurableEnvironment) beanFactory.getBean(ConfigurableEnvironment.class);
         MutablePropertySources propertySources = environment.getPropertySources();

--
Gitblit v1.9.3