git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2004-07-12 14:36:04 +00:00
parent 9db6cd299a
commit cec270c525
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class CompoundFileReader extends Directory {
success = true;
} finally {
if (! success) {
if (! success && (stream != null)) {
try {
stream.close();
} catch (IOException e) { }