use closeWhileHandlingException when success is false

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/slowclosing@1393566 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-10-03 15:51:56 +00:00
parent c34e9434c4
commit 38f1194d47
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public final class BloomFilteringPostingsFormat extends PostingsFormat {
success = true; success = true;
} finally { } finally {
if (!success) { if (!success) {
IOUtils.close(bloomIn, delegateFieldsProducer); IOUtils.closeWhileHandlingException(bloomIn, delegateFieldsProducer);
} }
} }
} }