mirror of
https://github.com/chillzhuang/blade-tool
synced 2025-03-14 01:27:25 +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…
x
Reference in New Issue
Block a user