[Biojava-dev] [Bug 2177] Unclosed streams in org.biojava.bio.program.scf.SCF

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Jan 5 11:21:14 UTC 2007


http://bugzilla.open-bio.org/show_bug.cgi?id=2177


holland at ebi.ac.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #6 from holland at ebi.ac.uk  2007-01-05 06:21 -------
Publicly visible methods that accept InputStreams should never ever close them
- that is the responsibility of the caller. If the DataInputStream wrapping the
InputStream were closed, it would also close the InputStream, thus breaking
this contract. The DataInputStream will be implicitly closed when the caller
closes the original InputStream after calling the method in question.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the biojava-dev mailing list