BUG-2459: cache GrammarCache
authorRobert Varga <rovarga@cisco.com>
Tue, 2 Dec 2014 14:55:20 +0000 (15:55 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 16 Dec 2014 10:58:57 +0000 (11:58 +0100)
commit0b5f9f806baf4f1d4c0626024b7502348c4b182c
treeccc96ac9ef0e7c8c5061dfa43c086511d823d007
parente52175a6243accb66a48d470f74638c4a97c5e7f
BUG-2459: cache GrammarCache

The GrammarCache without a schema is used as a template, so it is
expliticly okay to reuse it across multiple instances. Make sure we
reuse it as much as possible.

Change-Id: I0e642b1b580051e997de9602020ab0dace7dbcac
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/NetconfEXICodec.java