mirror of
https://gitee.com/smallc/blade-tool.git
synced 2026-07-21 06:32:08 +08:00
✨ 代码优化
This commit is contained in:
parent
37c2563326
commit
9d54d8aed5
|
|
@ -264,8 +264,8 @@ public class XmlUtil {
|
||||||
* 内部类单例
|
* 内部类单例
|
||||||
*/
|
*/
|
||||||
private static class XmlHelperHolder {
|
private static class XmlHelperHolder {
|
||||||
private static DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
|
private static final DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
|
||||||
private static XPathFactory xPathFactory = XPathFactory.newInstance();
|
private static final XPathFactory xPathFactory = XPathFactory.newInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user