NormalizedNodeOutputStreamWriter should forward flush() 05/14505/4
authorRobert Varga <rovarga@cisco.com>
Mon, 26 Jan 2015 16:22:34 +0000 (17:22 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 28 Jan 2015 16:18:59 +0000 (17:18 +0100)
commitbb2e1f012d8418979e14b11e34a6570d501e71f4
treed24deaf74d5939a8e35ee90029e9accfc53bb91f
parent7fd8bdbb1f974e37a18a486f4662ed4e6518406e
NormalizedNodeOutputStreamWriter should forward flush()

When flush is called, we should cascade it to underlying stream, if it
is a stream. Failure to do so may cause problems with buffering.

Change-Id: I5ee32c3a0bab6aa112dc3c323ea1c4d5c4d5af5c
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeOutputStreamWriter.java