Merge pull request #1337 from KwokRoot/patch-1

Update PropsUtil.java
This commit is contained in:
Golden Looly 2020-12-27 05:33:28 +08:00 committed by GitHub
commit 734e803e25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,9 +40,9 @@ public class PropsUtil {
/**
* 获取给定路径找到的第一个配置文件<br>
* * name可以为不包括扩展名的文件名默认.setting为结尾也可以是文件名全称
* * name可以为不包括扩展名的文件名默认.properties为结尾也可以是文件名全称
*
* @param names 文件名如果没有扩展名默认为.setting
* @param names 文件名如果没有扩展名默认为.properties
*
* @return 当前环境下配置文件
*/