diff options
author | k.kazak <k.kazak@samsung.com> | 2019-08-14 10:18:31 +0200 |
---|---|---|
committer | Lukasz Muszkieta <lukasz.muszkieta@nokia.com> | 2019-08-19 10:52:19 +0000 |
commit | 81f26b4c1837c9f8ff49619782fe01d99f4f0683 (patch) | |
tree | d845ed5c21e2c55545320bd39b7157a27e60e241 /bpmn/MSOCommonBPMN/src/test/groovy/org/onap | |
parent | 5b17afb416e3ab2d3f58694d275e67f20af5a1c6 (diff) |
Close input streams via try-with-resources
DefaultDmaapPropertiesImpl: close FileInputStream after loading
ServicePluginFactory: close HttpClient if processing fails
close application.properties InputStream after loading
remove redundant catch block if behavior is the same
add logging of exception in finally block
BpmnInstaller: close csarFile if processing fails
Change-Id: Ic6f942c401277c5150c5cc1297aba27ccd40694c
Coverity-scan: CID-203903, CID-211476, CID-211615, CID-219308
Issue-ID: SO-2211
Signed-off-by: k.kazak <k.kazak@samsung.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/test/groovy/org/onap')
0 files changed, 0 insertions, 0 deletions