Do not instantiate multiple DocumentBuilderFactories 78/5378/1
authorRobert Varga <rovarga@cisco.com>
Sun, 16 Feb 2014 05:44:49 +0000 (06:44 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 18 Feb 2014 05:22:35 +0000 (06:22 +0100)
commit5e035029b351317b24cf2dfb45504bf5a830d2d1
tree24f4b482d599a487707c60057ba07fe6b6562676
parenteac080120972a30ae37566fec20521286e87ef18
Do not instantiate multiple DocumentBuilderFactories

We're instantiating builders themsenves, so we can safely reuse a single
factory. No sense in initiating it more than once.

Change-Id: I70dfa2d5cc51a09722bb7ad41ce4d61f8691ac3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlUtil.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.