Remove JSONCodecFactory.create(SchemaContext) 36/65036/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Nov 2017 09:35:33 +0000 (10:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 3 Nov 2017 15:46:02 +0000 (16:46 +0100)
commit8e0f1e3cb66eece202aa055da5315881a7f399b4
treefe3bb2dd1bdd9bfd2b50d5ff05cdfd990813719e
parent4b5dd4d3b259a73beed76421cc0eafde97de4ed7
Remove JSONCodecFactory.create(SchemaContext)

This method has been deprecated in favor of various static factory
methods, like getShared(), getPrecomputed(), createLazy() and similar.
Those offer various computation strategies and allow users to better
fine-tune memory/cpu overhead trade-offs based on their use. Remove
the old create() method.

Change-Id: I01bb4063be2273bc7f5cc3e2361b23c01ffa11bf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/JSONCodecFactory.java