Fix findbugs violations in sal-rest-docgen-maven 56/68956/2
authorTom Pantelis <tompantelis@gmail.com>
Thu, 1 Mar 2018 15:25:02 +0000 (10:25 -0500)
committerTom Pantelis <tompantelis@gmail.com>
Mon, 5 Mar 2018 19:26:28 +0000 (14:26 -0500)
commit55a92f9bfad21ea46e8cc1d4463a081d3a729924
tree9c406036f184cafdeb2081a033e2aa46bc483c70
parent9d4f66971356d2ab3769b172e8b968ec36f894c2
Fix findbugs violations in sal-rest-docgen-maven

- Method ignores exceptional return value
- Method may fail to close stream on exception
- Reliance on default encoding

Change-Id: I854a7eee9960645a4c4a9d867a284bf202826786
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
restconf/sal-rest-docgen-maven/src/main/java/org/opendaylight/netconf/sal/rest/doc/maven/StaticDocGenerator.java