From da7fd6e806e227ea9dce34b00eceec79b9e377e6 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 09 四月 2024 23:30:38 +0800
Subject: [PATCH] 可以执行后台访问了,修改了一部分查询,lamda改为方法引用才行
---
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