Bug 5581: Minor Exi decoder optimization 48/51848/1
authorAndrej Mak <andrej.mak@pantheon.tech>
Tue, 14 Feb 2017 08:01:40 +0000 (09:01 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 14 Feb 2017 09:35:08 +0000 (09:35 +0000)
commitc30a4c3847d591a10f96280ef49c47d7677abce0
tree7cf392488ea7cc188b9cf60f279732816490933d
parent2c244f3929d22c5ab4753aff95ae257a0a575e62
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