Add missing flush() on buffered writer. 89/65289/1
authorAndrej Záň <andrej.zan@pantheon.tech>
Mon, 23 Oct 2017 14:02:07 +0000 (16:02 +0200)
committerEvan Zeller <evanrzeller@gmail.com>
Tue, 7 Nov 2017 23:36:56 +0000 (23:36 +0000)
commit7edd9c6a769a4e37f2a72dd4b9b1fa5d2fa3819c
tree91785a2c97f51f94933f94e03b2ea996ef0f822e
parent1e8350d9c5aa9558f0c128625165d4532a20409a
Add missing flush() on buffered writer.

Missing flush caused, that backing ByteArrayOutputStream was empty
and thus mounted resources was not showing up in apidoc.

Change-Id: I14445b9f85cea1918321e59519129e21cb37dd81
Signed-off-by: Andrej Záň <andrej.zan@pantheon.tech>
(cherry picked from commit a2c0fda6b15dbf6717e2405bab868cda2fc209a3)
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/ApiDocServiceImpl.java