Bug 5581: Minor Exi decoder optimization 34/51834/3
authorAndrej Mak <andrej.mak@pantheon.tech>
Tue, 14 Feb 2017 08:01:40 +0000 (09:01 +0100)
committerJakub Morvay <jmorvay@cisco.com>
Tue, 14 Feb 2017 20:07:11 +0000 (20:07 +0000)
commit631162ed4bfcbcea7fbca3ee0c0b13f023882176
treea763d3ce7425c182181d7890cd2398b5987edb06
parent27a8264015c1da21f27e8d6e19376a929666901b
Bug 5581: Minor Exi decoder optimization

Initialize DomSource with new document. Otherwise new
document is created by SAX2DOM class, which is more
expensive as it includes creating new
DocumentBuilderFactory etc.

Change-Id: I8511f39c5ae099d55c07fe3844e4aae5b3bd9bbb
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfEXIToMessageDecoder.java