From 9b677ea5c6978788d135fc15da3d78c5a93789c2 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 07 五月 2024 16:52:37 +0800
Subject: [PATCH] 代码整理1
---
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