Closed nested JSON writers 68/67868/1
authorStephen Kitt <skitt@redhat.com>
Fri, 2 Feb 2018 15:57:30 +0000 (16:57 +0100)
committerStephen Kitt <skitt@redhat.com>
Fri, 2 Feb 2018 15:57:30 +0000 (16:57 +0100)
commitb6be299466349d775d860ab45d785028e6b899f7
tree28f6619ba1d8f064e34ba6d3aefb777bf8434e78
parent90de7ddfbe49a1792986f7f67414155670668015
Closed nested JSON writers

With I9c597fe96937867cffdcbeeddd4b1507de20f2ee,
JSONNormalizedNodeStreamWriter.createNestedWriter() leaves it up to
the caller to close the provided JsonWriter. This patch ensures that
that is the case.

Change-Id: If20a596db06e40d1636de168dd11677372964364
Signed-off-by: Stephen Kitt <skitt@redhat.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/NormalizedNodeJsonBodyWriter.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/jersey/providers/NormalizedNodeJsonBodyWriter.java