fix java 5 compile error

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1125097 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Willnauer 2011-05-19 20:56:25 +00:00
parent 6dc4879fec
commit a19d849e2f

View File

@ -302,7 +302,7 @@ final class PerFieldCodecWrapper extends Codec {
if (next != null) {
next.close();
}
} catch (Exception ioe) {
} catch (IOException ioe) {
// keep first IOException we hit but keep
// closing the rest
if (err == null) {