This commit is contained in:
thinkgem
2024-05-07 13:41:28 +08:00
parent 9ccfd534d0
commit 49464e8bca

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