I have three questions.
To explain, I was reviewing someone\'s code, and noticed BufferedReader
s sometimes aren\'t being closed. Usually, Eclipse gives a w
You may not want to close the BufferedReader
in this case. The InputStream
which was passed to the constructor is the object that may be associated with a system resource. The BufferedReader
and the InputStreamReader
are just wrappers around that. Closing the BufferedReader
would also close the InputStream
, which may not be what the caller wanted.