This commit is contained in:
thinkgem
2024-05-07 13:41:20 +08:00
parent ecb31bf21a
commit 66740854f6

View File

@@ -171,7 +171,7 @@ public class PropertiesUtils {
}
// 正则表达式预编译
private static Pattern p1 = Pattern.compile("\\$\\{.*?\\}");
private static final Pattern p1 = Pattern.compile("\\$\\{.*?\\}");
/**
* 获取属性值取不到从System.getProperty()获取都取不到返回null