Bug #7313
cn.synchronize not closing the inputstream.
100%
Description
testing metacat updateSystemMetadata uncovered the error in the client implementation code - the inputstream is ignored, so need to make sure it is closed in a finally block. Review other boolean-returning methods to make sure those are implemented properly, too.
Associated revisions
refs: #7313: Fixed left-open input stream in cn.synchronize. Standardized inputSteam handling for the other method implementations (v1,v2) that return booleans, all done in finally blocks now, all now use new static method MultipartD1Node.closeLoudly.
refs: #7313: Fixed left-open input stream in cn.synchronize. Standardized inputSteam handling for the other method implementations (v1,v2) that return booleans, all done in finally blocks now, all now use new static method MultipartD1Node.closeLoudly.
History
#1 Updated by Rob Nahf over 9 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
fixed the left-open input stream. Also refactored and standardized other boolean returning methods, to ease future maintenance.