mirror of https://github.com/apache/lucene.git
- Fix to support JDK 1.2 and 1.3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab87c3ccd9
commit
395b5c52d9
|
@ -243,14 +243,14 @@ public final class FSDirectory extends Directory {
|
|||
try {
|
||||
in.close();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("could not close input stream", e);
|
||||
throw new RuntimeException("could not close input stream: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
if (out != null) {
|
||||
try {
|
||||
out.close();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("could not close output stream", e);
|
||||
throw new RuntimeException("could not close output stream: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue