mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 13:29:26 +00:00
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:
parent
c34e9434c4
commit
38f1194d47
@ -183,7 +183,7 @@ public final class BloomFilteringPostingsFormat extends PostingsFormat {
|
||||
success = true;
|
||||
} finally {
|
||||
if (!success) {
|
||||
IOUtils.close(bloomIn, delegateFieldsProducer);
|
||||
IOUtils.closeWhileHandlingException(bloomIn, delegateFieldsProducer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user